SplFixedArray
PHP Manual

SplFixedArray::current

(PHP 5 >= 5.3.0)

SplFixedArray::currentReturn current array entry

Descrierea

public mixed SplFixedArray::current ( void )

Get the current array element.

Parametri

Această funcție nu are parametri.

Valorile întoarse

The current element value.

Erori/Excepții

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


SplFixedArray
PHP Manual