colder          Sun Dec  3 22:09:02 2006 UTC

  Modified files:              
    /phpdoc/en/language/oop5    cloning.xml 
  Log:
  clone is no function, remove the confusing ()
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/cloning.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/language/oop5/cloning.xml
diff -u phpdoc/en/language/oop5/cloning.xml:1.4 
phpdoc/en/language/oop5/cloning.xml:1.5
--- phpdoc/en/language/oop5/cloning.xml:1.4     Sat Oct  2 09:40:50 2004
+++ phpdoc/en/language/oop5/cloning.xml Sun Dec  3 22:09:02 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
  <sect1 id="language.oop5.cloning">
   <title>Object cloning</title>
   
@@ -65,7 +65,7 @@
     {
         // Force a copy of this->object, otherwise
         // it will point to same object.
-        $this->object1 = clone($this->object1);
+        $this->object1 = clone $this->object1;
     }
 }
 

Reply via email to