curt Thu Aug 5 22:45:16 2004 EDT
Modified files: /phpdoc/en/language variables.xml Log: Clearify the scope of variable variable super globals. http://cvs.php.net/diff.php/phpdoc/en/language/variables.xml?r1=1.79&r2=1.80&ty=u Index: phpdoc/en/language/variables.xml diff -u phpdoc/en/language/variables.xml:1.79 phpdoc/en/language/variables.xml:1.80 --- phpdoc/en/language/variables.xml:1.79 Thu Jul 22 20:18:21 2004 +++ phpdoc/en/language/variables.xml Thu Aug 5 22:45:16 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.79 $ --> +<!-- $Revision: 1.80 $ --> <chapter id="language.variables"> <title>Variables</title> @@ -788,11 +788,8 @@ <warning> <simpara> Please note that variable variables cannot be used with PHP's - <link linkend="language.variables.superglobals">Superglobal arrays</link>. - 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 - <varname>HTTP_*_VARS</varname>, you might want to try - <link linkend="language.references">referencing</link> them. + <link linkend="language.variables.superglobals">Superglobal arrays</link> + within functions or class methods. </simpara> </warning>