Re: Dots and spaces in variable names are converted to underscores.
| From: | Tim Starling | Date: | Thu, 21 Jan 2010 02:29:56 +0000 |
| Subject: | Re: Dots and spaces in variable names are converted to underscores. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46848@lists.php.net to get a copy of this message | ||
Stan Vassilev wrote:
>
> I hope PHP6 will remove this processing as register_globals will be
> completely removed at that point.
I'd be happy if it stayed like it is, for backwards compatibility. If
not, then there needs to be some reasonably straightforward way for an
app to work out how PHP has messed up its input so that it can put it
back together (compare get_magic_quotes_gpc()).
In any case, it could be better documented. I see it is documented in
these places:
http://www.php.net/manual/en/language.variables.external.php
http://www.php.net/manual/en/faq.html.php
But not in any of these places:
http://www.php.net/manual/en/reserved.variables.get.php
http://www.php.net/manual/en/reserved.variables.post.php
http://www.php.net/manual/en/reserved.variables.cookies.php
-- Tim Starling