ArrayIterator::offsetExists

(PHP 5, PHP 7)

ArrayIterator::offsetExistsCheck 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, otherwise FALSE

锟轿硷拷