(PHP 8)
DOMNodeList::getIterator — Retrieve an external iterator
public DOMNodeList::getIterator(): Iterator
Returns an external iterator for the node list.
This function has no parameters.
An instance of an object implementing Iterator or Traversable
Throws an Exception on failure.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domnodelist.getiterator.php