PHP 8.1.0 RC 2 available for testing

The OuterIterator interface

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


Classes implementing OuterIterator can be used to iterate over iterators.


interface OuterIterator extends Iterator {
/* 方法 */
/* 继承的方法 */
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


add a note add a note

User Contributed Notes

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