SplFixedArray::current

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::currentReturn current array entry

Descrição

public SplFixedArray::current ( void ) : mixed

Get the current array element.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

The current element value.

Erros

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