SplObjectStorage::removeAll 別のストレージに含まれているオブジェクトを現在のストレージから取り除く &reftitle.description; public intSplObjectStorage::removeAll SplObjectStoragestorage 別のストレージに含まれているオブジェクトを現在のストレージから取り除きます。 &reftitle.parameters; storage 取り除きたい要素を含むストレージ。 &reftitle.returnvalues; 取り除かれた後に残ったオブジェクトの数を返します。 &reftitle.examples; <function>SplObjectStorage::removeAll</function> の例 removeAll($a); var_dump(count($b)); ?> ]]> &example.outputs.similar; &reftitle.seealso; SplObjectStorage::addAll