On 13 Jan 2009, at 11:09, Alexey Zakhlestin wrote:

On Tue, Jan 13, 2009 at 12:32 PM, troels knak-nielsen
<troel...@gmail.com> wrote:
In a recent mail, some kind of issue regarding queryparams was
mentioned (Possibly related to namespaces). Could anybody explain what
the issue is, or point to where it's discussed?

Currently, php replaces dots in paramter-names with underscores. This
is a legacy of register_globals.
As register_globals still can be enabled in 5.3, it is better to leave
this replacement for consistency reasons (you can't have $a.b.c
variable).
In 6.0, on the other hand, register_globals is not available. So, it
doesn't make sense to have replacement there too.

5.3 is left with status-quo:
?a.b.c=10  =>  $a_b_c, $_GET['a_b_c']

6.0 will have:
?a.b.c=10  =>  $_GET['a.b.c']

I think there should be a period where both methods of access are possible, allowing for smoother transition.

Best regards,
Stefan

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to