InternalIterator::key
PHP function
Edit on GitHub ✎
(PHP 8)
Return the key of the current element
Description
InternalIterator::key(): mixed
Returns the key of the current element.
Parameters Parameters
Return Values
Returns the key of the current element.