DOMDocument::loadHTMLFile
DOMDocument::loadHTMLFile
(PHP 5, PHP 7)
DOMDocument::loadHTMLFile — Load HTML from a file
Description
public bool DOMDocument::loadHTMLFile ( string $filename [, int $options = 0 ] )
The function parses the HTML document in the file named filename
. Unlike loading XML, HTML does not have to be well-formed to load.
Parameters
-
filename
-
The path to the HTML file.
-
op