php8.5
Home/ Manual/ spl / iteratoriterator/ IteratorIterator::next

IteratorIterator::next

PHP function Edit on GitHub ✎

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

Forward to the next element

Description

IteratorIterator::next(): void

Forward to the next element.

Parameters Parameters

Return Values

Void

See Also

  • IteratorIterator::rewind
  • IteratorIterator::valid

Source: reference/spl/iteratoriterator/next.xml · from the official PHP manual (php/doc-en)