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

From: Date: Wed, 12 Nov 2008 02:57:55 +0000
Subject: Re: register globals -> PHP6 still replaces . in variables from outside
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-41861@lists.php.net to get a copy of this message
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. If import_request_variables() needs it, it can do it there only for that import. I.e. $_GET['foo.bar'] is just fine, and importing 'foo.bar' with the above function could still produce $foo_bar only for that specific edge case. It's just a premature replacement too early the stack. Regards, Stan Vassilev.

« previous php.internals (#41861) next »