SplFixedArray::current
(PHP 5 >= 5.3.0, PHP 7)
SplFixedArray::current — Return current array entry
警告
此功能自 PHP 8.0.0 起移除。
参数
此函数没有参数。
返回值
The current element value.
错误/异常
Throws RuntimeException when the internal array pointer points to an invalid index or is out of bounds.
更新日志
| 版本 | 说明 |
|---|---|
| 8.0.0 | 此函数已移除。 Use SplFixedArray::getIterator() instead. |
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
