Index: reference/spl/splobjectstorage/removecommon.xml
===================================================================
--- reference/spl/splobjectstorage/removecommon.xml (revision 0)
+++ reference/spl/splobjectstorage/removecommon.xml (revision 0)
@@ -0,0 +1,111 @@
+
+
+
+
+
+ SplObjectStorage::removeCommon
+ Removes objects common to both the current storage and another storage from the current storage
+
+
+
+ &reftitle.description;
+
+ public voidSplObjectStorage::removeCommon
+ SplObjectStoragestorage
+
+
+ Removes objects common to both the current storage and another storage from the current storage.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ storage
+
+
+ The storage containing the common elements to remove.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+ &reftitle.examples;
+
+
+ SplObjectStorage::removeCommon example
+
+attach($a);
+$foo->attach($b);
+
+$bar = new SplObjectStorage;
+$bar->attach($b);
+$bar->attach($c);
+
+$foo->removeCommon($bar);
+var_dump($foo->contains($a));
+var_dump($foo->contains($b));
+?>
+]]>
+
+ &example.outputs.similar;
+
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ SplObjectStorage::removeUncommon
+
+
+
+
+
+
+
Index: reference/spl/splobjectstorage/removeuncommon.xml
===================================================================
--- reference/spl/splobjectstorage/removeuncommon.xml (revision 0)
+++ reference/spl/splobjectstorage/removeuncommon.xml (revision 0)
@@ -0,0 +1,111 @@
+
+
+
+
+
+ SplObjectStorage::removeUncommon
+ Removes objects not common to both the current storage and another storage from the current storage
+
+
+
+ &reftitle.description;
+
+ public voidSplObjectStorage::removeUncommon
+ SplObjectStoragestorage
+
+
+ Removes objects not common to both the current storage and another storage from the current storage.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ storage
+
+
+ The storage containing the uncommon elements to remove.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+ &reftitle.examples;
+
+
+ SplObjectStorage::removeUncommon example
+
+attach($a);
+$foo->attach($b);
+
+$bar = new SplObjectStorage;
+$bar->attach($b);
+$bar->attach($c);
+
+$foo->removeCommon($bar);
+var_dump($foo->contains($a));
+var_dump($foo->contains($b));
+?>
+]]>
+
+ &example.outputs.similar;
+
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ SplObjectStorage::removeCommon
+
+
+
+
+
+
+