php8.5
Home/ Manual/ spl / norewinditerator/ NoRewindIterator::current

NoRewindIterator::current

PHP function Edit on GitHub ✎

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

Get the current value

Description

NoRewindIterator::current(): mixed

Gets the current value.

Func

Parameters Parameters

Return Values

The current value.

See Also

  • NoRewindIterator::key

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