Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46847 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30317 invoked from network); 21 Jan 2010 01:42:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2010 01:42:32 -0000 X-Host-Fingerprint: 95.31.13.88 xdmitri2.static.corbina.ru Received: from [95.31.13.88] ([95.31.13.88:22898] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/C7-26239-601B75B4 for ; Wed, 20 Jan 2010 20:42:31 -0500 Message-ID: <0E.C7.26239.601B75B4@pb1.pair.com> To: internals@lists.php.net References: <4B5783C7.5000100@lerdorf.com> <20100121003241.GB5030@joeysmith.com> Date: Thu, 21 Jan 2010 04:42:28 +0300 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original X-Posted-By: 95.31.13.88 Subject: Re: [PHP-DEV] Dots and spaces in variable names are converted tounderscores. From: dmda@yandex.ru ("jvlad") > 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.