SplFixedArray
PHP Manual

SplFixedArray::current

(PHP 5 >= 5.3.0, PHP 7)

SplFixedArray::currentReturn current array entry

설명

public mixed SplFixedArray::current ( void )

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.


SplFixedArray
PHP Manual