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

LimitIterator::valid

PHP function Edit on GitHub ✎

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

Check whether the current element is valid

Description

LimitIterator::valid(): bool

Checks whether the current element is valid.

Parameters Parameters

Return Values

Success

See Also

  • LimitIterator::current
  • LimitIterator::key
  • LimitIterator::rewind
  • LimitIterator::next
  • LimitIterator::seek

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