$iterator->key()
Returns the current key
$iterator->key(): string|int|null
Return types
stringorintornull
This method modifies the existing $iterator object it is applied to and returns it again.
Returns the current key
$iterator->key(): string|int|null
stringorintornull
This method modifies the existing $iterator object it is applied to and returns it again.