Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46844 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10468 invoked from network); 20 Jan 2010 22:38:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2010 22:38:45 -0000 Authentication-Results: pb1.pair.com header.from=sv_forums@fmethod.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sv_forums@fmethod.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fmethod.com from 69.16.228.148 cause and error) X-PHP-List-Original-Sender: sv_forums@fmethod.com X-Host-Fingerprint: 69.16.228.148 unknown Linux 2.4/2.6 Received: from [69.16.228.148] ([69.16.228.148:53300] helo=host.fmethod.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/04-26239-5F5875B4 for ; Wed, 20 Jan 2010 17:38:45 -0500 Received: from [83.228.56.37] (port=4073 helo=pc) by host.fmethod.com with esmtpa (Exim 4.69) (envelope-from ) id 1NXjCE-0005dz-5i; Wed, 20 Jan 2010 16:38:42 -0600 Message-ID: <8CF830C8510B4364962068F0721804C4@pc> To: "Rasmus Lerdorf" Cc: , "Nathan Rixham" References: <4B5783C7.5000100@lerdorf.com> Date: Thu, 21 Jan 2010 00:38:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.fmethod.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fmethod.com Subject: Re: [PHP-DEV] Dots and spaces in variable names are converted to underscores. From: sv_forums@fmethod.com ("Stan Vassilev") > 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 Hi, I'm not sure it needs to happen anywhere. Such symbols could be simply referred to with the intended syntax: ${'a.b.c.d'}. By the way, extract now seems to just ignore those vars when given an array: extract(array('foo.bar' => 'baz')); echo ${'foo.bar'}; // notice, no such variable echo $foo_bar; // notice, no such variable Regards, Stan Vassilev