(PHP 5, PHP 7)
DOMXPath::__construct — Creates a new DOMXPath object
$doc
Creates a new DOMXPath object.
doc
The DOMDocument associated with the DOMXPath.