cvs: phpdoc /en/language references.xml

From: Date: Mon, 26 Jul 2004 20:38:58 +0000
Subject: cvs: phpdoc /en/language references.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969362195@lists.php.net to get a copy of this message
vrana Mon Jul 26 16:38:58 2004 EDT Modified files: /phpdoc/en/language references.xml Log: Explain this a bit http://cvs.php.net/diff.php/phpdoc/en/language/references.xml?r1=1.29&r2=1.30&ty=u Index: phpdoc/en/language/references.xml diff -u phpdoc/en/language/references.xml:1.29 phpdoc/en/language/references.xml:1.30 --- phpdoc/en/language/references.xml:1.29 Mon Jul 26 11:55:09 2004 +++ phpdoc/en/language/references.xml Mon Jul 26 16:38:58 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.29 $ --> +<!-- $Revision: 1.30 $ --> <chapter id="language.references"> <title>References Explained</title> @@ -112,6 +112,9 @@ ]]> </programlisting> </example> + Think about <literal>global $var;</literal> as a shortcut to <literal>$var + =&amp; $GLOBALS['var'];</literal>. Thus assigning other reference + to <literal>$var</literal> only changes the local variable's reference. </para> </warning> <para>

« previous php.doc (#969362195) next »