(PHP 8 >= 8.4.0)
This is the modern, spec-compliant equivalent of DOMNode.
DOMNode::DOCUMENT_POSITION_DISCONNECTED
     DOMNode::DOCUMENT_POSITION_PRECEDING
     DOMNode::DOCUMENT_POSITION_FOLLOWING
     DOMNode::DOCUMENT_POSITION_CONTAINS
     DOMNode::DOCUMENT_POSITION_CONTAINED_BY
     DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
     Gets the type of the node. One of the predefined XML_*_NODE constants
       The absolute base URI of this node or null if the implementation
       wasn't able to obtain an absolute URI.
      
Whether the node is connected to a document
null if this node is a document.
      
     The parent of this node. If there is no such node, this returns null.
The parent element of this element. If there is no such element, this returns null.
       The first child of this node. If there is no such node, this
       returns null.
      
The last child of this node. If there is no such node, this returns null.
       The node immediately preceding this node. If there is no such
       node, this returns null.
      
       The node immediately following this node. If there is no such
       node, this returns null.
      
The text content of this node and its descendants.
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.
