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

AppendIterator::rewind

PHP function Edit on GitHub ✎

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

Rewinds the Iterator

Description

AppendIterator::rewind(): void

Rewind to the first element of the first inner Iterator.

Parameters Parameters

Return Values

Void

See Also

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

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