SplFixedArray::current

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::currentReturn current array entry

Açıklama

publicSplFixedArray::current(): mixed

Get the current array element.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni 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.

To Top