SplFixedArray
PHP Manual

SplFixedArray::current

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::currentReturn current array entry

Descrição

public mixed SplFixedArray::current ( void )

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.


SplFixedArray
PHP Manual