Re: behavior of translating dot in the query variable name into underscore character
| From: | Etienne Kneuss | Date: | Fri, 12 Aug 2011 10:42:27 +0000 |
| Subject: | Re: behavior of translating dot in the query variable name into underscore character | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54522@lists.php.net to get a copy of this message | ||
Hello,
On Fri, Aug 12, 2011 at 12:31, Laruence <laruence@php.net> wrote:
> Hi:
> a request uri : http://***/a.b=2 will result
> $_GET["a_b"] = 2 (
> the dot was translated into underscore char);
>
> my point is , since register_globals has be removed already( in
> my opinion this behavior only make sence when register_globals on),
> should we remove this translating behavior too?
For BC reasons there is no way we can simply remove it. Old code might
rely on it without relying on register_globals.
Best,
>
> thanks
>
> --
> Laruence Xinchen Hui
> http://www.laruence.com/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Etienne Kneuss
http://www.colder.ch