Re: cvs: phpdoc /en/language variables.xml
| From: | Gabor Hojtsy | Date: | Wed, 13 Mar 2002 07:54:32 +0000 |
| Subject: | Re: cvs: phpdoc /en/language variables.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969343003@lists.php.net to get a copy of this message | ||
> + <warning>
> + <simpara>
> + In PHP 4.1.0 and later, the default set of predefined variables
> + which are available in the global scope has changed. Individual
> + input and server variables are <emphasis>by default</emphasis>no
> + longer placed directly into the global scope; rather, they are
> + placed into the following <link
> + linkend="language.variables.superglobals">superglobal
> + arrays</link>.
> + </simpara>
> + <simpara>
> + You can still force the old behaviour by setting <link
> + linkend="ini.register-globals">register_globals</link> to
> 'On' in
> + your <filename>php.ini</filename> file.
> + </simpara>
> + <simpara>
> + For more information and background on this change, please see
> + the <ulink url="&url.php.release4.1.0;">PHP 4.1.0 Release
> + Announcement</ulink>.
> + </simpara>
> + </warning>
a) There is no space between "by default" and "no" in
"<emphasis>by default</emphasis>no". It would be nice to
put one space in.
b) I have PHP 4.1.0 win32 version. The php.ini-dist file contains
register_globals = On, and the windows install instructions
advise users to use php.ini-dist to set up PHP, so it is not
true, that register_globals is Off by default AFAIK.
Goba