DOMNodeList::count
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.2.0, PHP 8)
Get number of nodes in the list
Description
DOMNodeList::count(): int
Gets the number of nodes in the list.
Parameters Parameters
Return Values
Returns the number of nodes in the list, which is identical to the length property.