php8.5
Home/ Manual/ spl / limititerator/ LimitIterator::rewind

LimitIterator::rewind

PHP function Edit on GitHub ✎

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

Rewind the iterator to the specified starting offset

Description

LimitIterator::rewind(): void

Rewinds the iterator to the starting offset specified in LimitIterator::__construct.

Parameters Parameters

Return Values

Void

See Also

  • LimitIterator::current
  • LimitIterator::key
  • LimitIterator::next
  • LimitIterator::seek
  • LimitIterator::valid

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