(PHP 8 >= 8.4.0)
Represents an HTML document.
$encoding
$path
$options
$overrideEncoding
null
$source
$node
$filename
Note: The DOM extension uses UTF-8 encoding when working with methods or properties. The parser methods auto-detect the encoding or allow the caller to specify an encoding.
Note:
The DOM extension uses UTF-8 encoding when working with methods or properties. The parser methods auto-detect the encoding or allow the caller to specify an encoding.