cvs: phpdoc /en/language variables.xml

From: Date: Mon, 29 Apr 2002 08:41:49 +0000
Subject: cvs: phpdoc /en/language variables.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969344993@lists.php.net to get a copy of this message
manuzhai Mon Apr 29 04:41:49 2002 EDT Modified files: /phpdoc/en/language variables.xml Log: Fixed bug 16687 Index: phpdoc/en/language/variables.xml diff -u phpdoc/en/language/variables.xml:1.45 phpdoc/en/language/variables.xml:1.46 --- phpdoc/en/language/variables.xml:1.45 Mon Apr 22 18:26:10 2002 +++ phpdoc/en/language/variables.xml Mon Apr 29 04:41:49 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.45 $ --> +<!-- $Revision: 1.46 $ --> <chapter id="language.variables"> <title>Variables</title> @@ -527,6 +527,13 @@ index from that variable. The syntax for resolving this ambiguity is: <varname>${$a[1]}</varname> for the first case and <varname>${$a}[1]</varname> for the second. + </simpara> + + <simpara> + Please note that variable variables cannot be used with PHP's new superglobals. + This means you cannot do things like <varname>${$_GET}</varname>. If you are + looking for a way to handle availability of superglobals and the old + HTTP_*_VARS, you might want to try <link linkend="language.references">referencing</link> them. </simpara> </sect1>

« previous php.doc (#969344993) next »