SplFixedArray
PHP Manual

SplFixedArray::current

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::currentReturn current array entry

Beschreibung

public mixed SplFixedArray::current ( void )

Get the current array element.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

The current element value.

Fehler/Exceptions

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


SplFixedArray
PHP Manual