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. +