CakeFest 2024: The Official CakePHP Conference

ArrayIterator::offsetExists

(PHP 5, PHP 7, PHP 8)

ArrayIterator::offsetExistsオフセットが存在するかどうかを調べる

説明

public ArrayIterator::offsetExists(mixed $key): bool

オフセットが存在するかどうかを調べます。

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

key

調べたいオフセット。

戻り値

オフセットが存在する場合に true、それ以外の場合に false を返します。

参考

add a note

User Contributed Notes

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