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

APCUIterator::key

PHP function Edit on GitHub ✎

(PECL apcu >= 5.0.0)

Get iterator key

Description

APCUIterator::key(): string

Gets the current iterator key.

Parameters Parameters

Return Values

Returns the key on success, or false upon failure.

See Also

  • APCUIterator::current
  • Iterator::key

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