php8.5
Home/ Manual/ spl / appenditerator/ AppendIterator::next

AppendIterator::next

PHP function Edit on GitHub ✎

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

Moves to the next element

Description

AppendIterator::next(): void

Moves to the next element. If this means to another Iterator then it rewinds that Iterator.

Parameters Parameters

Return Values

Void

See Also

  • Iterator::next
  • AppendIterator::current
  • AppendIterator::key
  • AppendIterator::valid
  • AppendIterator::rewind

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