SplFixedArray::current

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::currentReturn current array entry

Açıklama

public SplFixedArray::current ( void ) : mixed

Get the current array element.

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

The current element value.

Hatalar/İstisnalar

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