InternalIterator::key
(PHP 8)
InternalIterator::key — Return the key of the current element
Description
public function InternalIterator::key():
mixed
Returns the key of the current element.
Parameters
This function has no parameters.
Return Values
Returns the key of the current element.