PHP 8.1.26 Released!

The RecursiveIterator interface

(PHP 5 >= 5.1.0, PHP 7, PHP 8)


Classes implementing RecursiveIterator can be used to iterate over iterators recursively.


interface RecursiveIterator extends Iterator {
/* 方法 */
public hasChildren(): bool
/* 继承的方法 */
public Iterator::next(): void
public Iterator::rewind(): void
public Iterator::valid(): bool


add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top