Fixed bug 16687

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@80367 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dirkjan Ochtman 2002-04-29 08:41:49 +00:00
parent 6a30fb2d2c
commit 6a6e593141

View file

@ -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>
@ -528,6 +528,13 @@ echo "$a $hello";
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>