SplObjectStorage::offsetUnset Removes an object from the storage &reftitle.description; public voidSplObjectStorage::offsetUnset objectobject Removes an object from the storage. SplObjectStorage::offsetUnset is an alias of SplObjectStorage::detach. &reftitle.parameters; object The object to remove. &reftitle.returnvalues; &return.void; &reftitle.examples; <function>SplObjectStorage::offsetUnset</function> example attach($o); var_dump(count($s)); $s->offsetUnset($o); // Similar to unset($s[$o]) var_dump(count($s)); ?> ]]> &example.outputs.similar; &reftitle.seealso; SplObjectStorage::offsetGet SplObjectStorage::offsetSet SplObjectStorage::offsetExists