(PHP 5, PHP 7, PHP 8)
Supports XPath 1.0
$document
$registerNodeNS
true
$expression
$contextNode
null
$prefix
$namespace
$restrict
When set to true, namespaces in the node are registered.