SplObjectStorage::offsetGet オブジェクトに関連づけられたデータを返す &reftitle.description; public mixedSplObjectStorage::offsetGet objectobject ストレージ内のオブジェクトに関連づけられたデータを返します。 &reftitle.parameters; object 探したいオブジェクト。 &reftitle.returnvalues; ストレージ内のオブジェクトに関連づけられたデータを返します。 &reftitle.errors; object が見つからないときに UnexpectedValueException をスローします。 &reftitle.examples; <function>SplObjectStorage::offsetGet</function> の例 attach($o2); var_dump($s->offsetGet($o1)); // $s[$o1] と同等 var_dump($s->offsetGet($o2)); // $s[$o2] と同等 ?> ]]> &example.outputs.similar; &reftitle.seealso; SplObjectStorage::offsetSet SplObjectStorage::offsetExists SplObjectStorage::offsetUnset