cvs: phpdoc /en/language/oop5 cloning.xml

From: Date: Fri, 06 Mar 2009 15:23:17 +0000
Subject: cvs: phpdoc /en/language/oop5 cloning.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3384@lists.php.net to get a copy of this message
rquadling Fri Mar 6 15:23:17 2009 UTC Modified files: /phpdoc/en/language/oop5 cloning.xml Log: Provide an explicit description of the order in which clone and __clone operate. #47587 http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/cloning.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/language/oop5/cloning.xml diff -u phpdoc/en/language/oop5/cloning.xml:1.6 phpdoc/en/language/oop5/cloning.xml:1.7 --- phpdoc/en/language/oop5/cloning.xml:1.6 Wed Jun 20 22:24:13 2007 +++ phpdoc/en/language/oop5/cloning.xml Fri Mar 6 15:23:17 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <sect1 xml:id="language.oop5.cloning" xmlns="http://docbook.org/ns/docbook"> <title>Object cloning</title> @@ -32,9 +32,12 @@ <para> When an object is cloned, PHP 5 will perform a shallow copy of all of the object's properties. Any properties that are references to other variables, - will remain references. If a __clone() method is defined, then the newly - created object's __clone() method will be called, to allow any necessary - properties that need to be changed. + will remain references. + </para> + + <para>Once the cloning is complete, if a __clone() method is defined, then + the newly created object's __clone() method will be called, to allow any + necessary properties that need to be changed. </para> <example>

« previous php.doc.cvs (#3384) next »