Re: register globals -> PHP6 still replaces . in variables from outside

From: Date: Wed, 12 Nov 2008 08:56:42 +0000
Subject: Re: register globals -> PHP6 still replaces . in variables from outside
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-41866@lists.php.net to get a copy of this message
On Wed, Nov 12, 2008 at 03:57, Stan Vassilev | FM <sv_forums@fmethod.com> wrote:
I don't see it would work with something like import_request_variables() unless thats removed or extract(), which is some of the reasons for this replacement feature afair.
There was never a need for the replacement to occur for the GPC superglobals.
Isn't that fixed already? I could have sworn seeing a commit from Ilia that allowed dots in the superglobals (duplicating the key, one with dot and one with underscore) some months ago...? -Hannes
It's not fixed, if it was, it was not checked in. In the 5.3 nightly, foo.php?a.b.c = 10 shows up as $_GET['a_b_c'] in PHP Regards, Stan Vassilev

« previous php.internals (#41866) next »