cvs: phpdoc /en/language references.xml

From: Date: Wed, 12 Dec 2001 21:29:56 +0000
Subject: cvs: phpdoc /en/language references.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339683@lists.php.net to get a copy of this message
jimw Wed Dec 12 16:29:56 2001 EDT Modified files: /phpdoc/en/language references.xml Log: & -> &amp;, tighten the wording a bit Index: phpdoc/en/language/references.xml diff -u phpdoc/en/language/references.xml:1.21 phpdoc/en/language/references.xml:1.22 --- phpdoc/en/language/references.xml:1.21 Wed Dec 12 16:15:37 2001 +++ phpdoc/en/language/references.xml Wed Dec 12 16:29:56 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.21 $ --> +<!-- $Revision: 1.22 $ --> <chapter id="language.references"> <title>References Explained</title> @@ -55,14 +55,13 @@ </para> <note> <para> - Not using the <literal>&</literal> operator causes a copy of - the object. If you use <literal>$this</literal> in the class - it will operate on the current instance of the class. The - assignment without <literal>& </literal>will copy the instance - (i.e. the object) and <literal>$this</literal> will operate on - the copy, which is not always favoured. Mostly you want to have - a single instance to work with, due to performace and memory - consumption issues. + Not using the <literal>&amp;</literal> operator causes a copy of the + object to be made. If you use <literal>$this</literal> in the class it + will operate on the current instance of the class. The assignment without + <literal>&amp;</literal> will copy the instance (i.e. the object) and + <literal>$this</literal> will operate on the copy, which is not always + what is desired. Usually you want to have a single instance to work with, + due to performance and memory consumption issues. </para> </note> <para>

« previous php.doc (#969339683) next »