diff --git a/reference/spl/splobjectstorage/attach.xml b/reference/spl/splobjectstorage/attach.xml
index 83ca9883cc1e..77fa299b0cfb 100644
--- a/reference/spl/splobjectstorage/attach.xml
+++ b/reference/spl/splobjectstorage/attach.xml
@@ -19,7 +19,7 @@
    mixedinfo&null;
   
   
-   Adds an object inside the storage, and optionally associate it to some data.
+   Adds an object inside the storage, and optionally associate it to some data.
   
  
 
@@ -31,7 +31,7 @@
      object
      
       
-       The object to add.
+       The object to add.
       
      
     
@@ -39,7 +39,7 @@
      info
      
       
-       The data to associate with the object.
+       The data to associate with the object.
       
      
     
@@ -62,11 +62,12 @@
     
 attach($o1); // similar to $s[$o1] = NULL;
-$s->attach($o2, "hello"); // similar to $s[$o2] = "hello";
+$s->attach($o1); // Similar to $s[$o1] = NULL;
+$s->attach($o2, "hello"); // Similar to $s[$o2] = "hello";
 
 var_dump($s[$o1]);
 var_dump($s[$o2]);
diff --git a/reference/spl/splobjectstorage/contains.xml b/reference/spl/splobjectstorage/contains.xml
index 3ccf2b10fa50..caffad1e3a80 100644
--- a/reference/spl/splobjectstorage/contains.xml
+++ b/reference/spl/splobjectstorage/contains.xml
@@ -18,7 +18,7 @@
    objectobject
   
   
-   Checks if the storage contains the object provided.
+   Checks if the storage contains the object provided.
   
  
 
@@ -30,7 +30,7 @@
      object
      
       
-       The object to look for.
+       The object to look for.
       
      
     
@@ -53,14 +53,16 @@
     
 contains($o1));
 var_dump($s->contains($o2));
+
 ?>
 ]]>
     
diff --git a/reference/spl/splobjectstorage/detach.xml b/reference/spl/splobjectstorage/detach.xml
index 532db199f191..770879795a7a 100644
--- a/reference/spl/splobjectstorage/detach.xml
+++ b/reference/spl/splobjectstorage/detach.xml
@@ -18,7 +18,7 @@
    objectobject
   
   
-   Removes the object from the storage.
+   Removes the object from the storage.
   
  
 
@@ -30,7 +30,7 @@
      object
      
       
-       The object to remove.
+       The object to remove.
       
      
     
@@ -53,12 +53,16 @@
     
 attach($o);
 var_dump(count($s));
+
 $s->detach($o);
 var_dump(count($s));
+
 ?>
 ]]>