PHP | DOMDocument loadHTML() Function
The DOMDocument::loadHTML() function is an inbuilt function in PHP which is used to load HTML file from a string. Syntax: bool DOMDocument::loadHTML( string $source, int $options = 0 ) Parameters: This function accepts two parameters as mentioned above and described below: $source: This parameter ho