PHP - Manual: Dom\NodeList
2025-02-27
(PHP 8 >= 8.4.0)
Represents a live list of nodes.
This is the modern, spec-compliant equivalent of DOMNodeList.
The number of nodes in the list. The range of valid child node indices is 0 to length - 1 inclusive.
length - 1
官方地址:https://www.php.net/manual/en/class.dom-nodelist.php