Re: Dots and spaces in variable names are converted tounderscores.
| From: | jvlad | Date: | Thu, 21 Jan 2010 01:42:28 +0000 |
| Subject: | Re: Dots and spaces in variable names are converted tounderscores. | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46847@lists.php.net to get a copy of this message | ||
> On Wed, Jan 20, 2010 at 02:29:27PM -0800, Rasmus Lerdorf wrote:
>> Well, that conversion still needs to happen somewhere, since plenty of
>> apps call extract() on those superglobals, but with register_globals
>> entirely gone in PHP 6, I suppose that conversion can be moved to the
>> extract() call.
>>
>> -Rasmus
>
> I'm definitely +1 on moving that logic into extract() for PHP6.
It'd be better to add an extra flag that will enable this _new_ logic and
leave it off by default.
Otherwise it will break BC.