PHP 8.1.0 Beta 1 available for testing

The RecursiveIterator interface

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

Introdução

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

Resumo da Interface

RecursiveIterator extends Iterator {
/* Métodos */
public hasChildren(): bool
/* Métodos herdados */
abstract public Iterator::current(): mixed
abstract public Iterator::key(): mixed
abstract public Iterator::next(): void
abstract public Iterator::rewind(): void
abstract public Iterator::valid(): bool
}

Índice

add a note add a note

User Contributed Notes

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