phpday 2027 - Call for Papers

ArrayIterator::offsetExists

(PHP 5, PHP 7, PHP 8)

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

説明

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

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

警告

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

パラメータ

key

調べたいオフセット。

戻り値

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

参考

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top