PHP 7.4.22 Released!

The OuterIterator interface

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

Introduction

Classes implementing OuterIterator can be used to iterate over iterators.

Interface synopsis

interface OuterIterator extends Iterator {
/* Methods */
/* Inherited methods */
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
}

Table of Contents

add a note add a note

User Contributed Notes

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