Mid-Atlantic Developer Conference - Call for Speakers

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top