SplFixedArray::current

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::currentReturn current array entry

Опис

public SplFixedArray::current(): mixed

Get the current array element.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

The current element value.

Помилки/виключення

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