DOMXPath::__construct
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Creates a new DOMXPath object
Description
DOMXPath::__construct(DOMDocument $document, bool $registerNodeNS = true)
Creates a new DOMXPath object.
Parameters
documentThe
DOMDocumentassociated with theDOMXPath.