php8.5
Home/ Manual/ apcu / apcuiterator/ APCUIterator::current

APCUIterator::current

PHP function Edit on GitHub ✎

(PECL apcu >= 5.0.0)

Get current item

Description

APCUIterator::current(): mixed

Gets the current item from the APCUIterator stack.

Parameters Parameters

Return Values

Returns the current item on success, or false if no more items exist, or on failure.

See Also

  • APCUIterator::next
  • Iterator::current

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