SplFixedArray::current

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::currentReturn current array entry

Descrizione

public SplFixedArray::current(): mixed

Get the current array element.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

The current element value.

Errori/Eccezioni

Throws RuntimeException when the internal array pointer points to an invalid index or is out of bounds.