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

From: Date: Wed, 12 Nov 2008 07:34:38 +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-41865@lists.php.net to get a copy of this message
Hannes Magnusson wrote: > 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...? I do did read some code related to that, but I got the feeling that was purely for unicode related matters and I still see replacements. But perhaps I'm reading it wrong. If it has been changed, that would be excellent and it would be great if the documentation got an update also ( http://php.net/register_globals ) <offtopic> I was working on a patch, but I can't get PHP 6 compiled atm (tokenizer.c 'yycINITIAL' re2c v 0.13.5) </offtopic> > > -Hannes > - Mark

« previous php.internals (#41865) next »