Iterator::key
(PHP 5, PHP 7, PHP 8)
Iterator::key — Return the key of the current element
Descrizione
public Iterator::key():
mixed
Elenco dei parametri
Questa funzione non contiene parametri.
Valori restituiti
Returns scalar on success, or null
on failure.
Errori/Eccezioni
Issues E_NOTICE
on failure.