ArrayIterator::offsetExists()
(PHP 5,PHP 7)
Check if offset exists
说明
public ArrayIterator::offsetExists(mixed $index) : bool
Checks if the offset exists.
Warning本函数还未编写文档,仅有参数列表。
参数
- $index
The offset being checked.
返回值
TRUE
if the offset exists,otherwiseFALSE
参见
- ArrayIterator::valid() Check whether array contains more entries