Thanks to visit codestin.com Credit goes to www.php.net
(PHP 8)
DOMNodeList::getIterator — Retrieve an external 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.