The RecursiveIterator interface

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

Einführung

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

Interface-Übersicht

RecursiveIterator extends Iterator {
/* Methoden */
public hasChildren ( ) : bool
/* Geerbte Methoden */
abstract public Iterator::current ( ) : mixed
abstract public Iterator::key ( ) : scalar
abstract public Iterator::next ( ) : void
abstract public Iterator::rewind ( ) : void
abstract public Iterator::valid ( ) : bool
}

Inhaltsverzeichnis

add a note add a note

User Contributed Notes

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