phpday 2027 - Call for Papers

CachingIterator::next

(PHP 5, PHP 7, PHP 8)

CachingIterator::next — Move the iterator forward

Beschreibung

public function CachingIterator::next(): void

Moves the iterator forward.

If the inner iterator is valid, its current key and element become the current key and element of the CachingIterator, and are added to the cache if CachingIterator::FULL_CACHE is set. The inner iterator is then moved forward. Otherwise, the CachingIterator is no longer valid.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Siehe auch

+add a note

User Contributed Notes

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