A Dom\HTMLCollection containing all child
elements of this node. Available as of PHP 8.5.0.
innerHTML
The inner HTML (or XML for XML documents) of the element.
outerHTML
The outer HTML (or XML for XML documents) of the element, including the
element itself. Available as of PHP 8.5.0.
substitutedNodeValue
The node value with entity substitution enabled.
Changelog
Version
Description
8.5.0
Added the Dom\Element::getElementsByClassName() method.
Notes
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.