From 6a6e593141e15fdbda8c8edf230075a270fca4f9 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 29 Apr 2002 08:41:49 +0000 Subject: [PATCH] Fixed bug 16687 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@80367 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/variables.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/language/variables.xml b/language/variables.xml index 521c55098e..5288ebd316 100644 --- a/language/variables.xml +++ b/language/variables.xml @@ -1,5 +1,5 @@ - + Variables @@ -528,6 +528,13 @@ echo "$a $hello"; is: ${$a[1]} for the first case and ${$a}[1] for the second. + + + Please note that variable variables cannot be used with PHP's new superglobals. + This means you cannot do things like ${$_GET}. If you are + looking for a way to handle availability of superglobals and the old + HTTP_*_VARS, you might want to try referencing them. +