mfischer Wed Sep 11 09:53:10 2002 EDT
Modified files:
/phpdoc/en/language variables.xml
Log:
- Make paragraph about dynamically accessing super globals not possible
a "Warning" so it's easier spotted.
Index: phpdoc/en/language/variables.xml
diff -u phpdoc/en/language/variables.xml:1.53 phpdoc/en/language/variables.xml:1.54
--- phpdoc/en/language/variables.xml:1.53 Thu Jul 25 05:59:48 2002
+++ phpdoc/en/language/variables.xml Wed Sep 11 09:53:09 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.53 $ -->
+<!-- $Revision: 1.54 $ -->
<chapter id="language.variables">
<title>Variables</title>
@@ -714,14 +714,16 @@
<varname>${$a}[1]</varname> for the second.
</simpara>
- <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.
- </simpara>
+ <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.
+ </simpara>
+ </warning>
</sect1>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php