« ArrayIterator::offsetExists
ArrayIterator::offsetSet »

ArrayIterator::offsetGet

(PHP 5, PHP 7, PHP 8)

ArrayIterator::offsetGet — オフセットの値を取得する

説明

public function ArrayIterator::offsetGet(mixed $key): mixed

指定したオフセットの値を取得します。

警告

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

パラメータ

key

値を取得したいオフセット。

戻り値

オフセット key の値を返します。

参考

関連キーワード:
オフセット   ArrayIterator   offsetGet   offsetSet   mixed   offsetExists   詳細   記述   参考   offsetUnset
関連する関数・ページ:
arrayiterator.offsetset   arrayiterator.offsetexists   arrayiterator.offsetunset   arrayiterator.append   arrayiterator.count   arrayiterator.construct