SplObjectStorage::offsetUnset ストレージからオブジェクトを取り除く &reftitle.description; public voidSplObjectStorage::offsetUnset objectobject ストレージからオブジェクトを取り除きます。 SplObjectStorage::offsetUnset は、 SplObjectStorage::detach のエイリアスです。 &reftitle.parameters; object 取り除きたいオブジェクト。 &reftitle.returnvalues; &return.void; &reftitle.examples; <function>SplObjectStorage::offsetUnset</function> の例 attach($o); var_dump(count($s)); $s->offsetUnset($o); // unset($s[$o]) と同等 var_dump(count($s)); ?> ]]> &example.outputs.similar; &reftitle.seealso; SplObjectStorage::offsetGet SplObjectStorage::offsetSet SplObjectStorage::offsetExists