PHP - Manual: Dom\XPath
2025-02-27
(PHP 8 >= 8.4.0)
Allows to use XPath 1.0 queries on HTML or XML documents.
This is the modern, spec-compliant equivalent of DOMXPath.
true
官方地址:https://www.php.net/manual/en/class.dom-xpath.php