IteratorIterator::key
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
IteratorIterator::key — Get the key of the current element
Description
public function IteratorIterator::key():
mixed
Parameters
This function has no parameters.
Return Values
The key of the current element.