SplObjectStorage::removeAll Removes objects contained in another storage from the current storage &reftitle.description; public intSplObjectStorage::removeAll SplObjectStoragestorage Removes objects contained in another storage from the current storage. &reftitle.parameters; storage The storage containing the elements to remove. &reftitle.returnvalues; Returns the number of remaining objects. &reftitle.examples; <function>SplObjectStorage::removeAll</function> example removeAll($a); var_dump(count($b)); ?> ]]> &example.outputs.similar; &reftitle.seealso; SplObjectStorage::addAll