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