Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42596 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72173 invoked from network); 13 Jan 2009 10:22:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2009 10:22:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=stefan.walk@gmail.com; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=stefan.walk@gmail.com; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain gmail.com does not designate 130.83.156.232 as permitted sender) X-PHP-List-Original-Sender: stefan.walk@gmail.com X-Host-Fingerprint: 130.83.156.232 lnx503.hrz.tu-darmstadt.de Received: from [130.83.156.232] ([130.83.156.232:33049] helo=lnx503.hrz.tu-darmstadt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/63-42308-E7B6C694 for ; Tue, 13 Jan 2009 05:22:54 -0500 Received: from fire02.rbg.informatik.tu-darmstadt.de (fire02.rbg.informatik.tu-darmstadt.de [130.83.160.8]) by lnx503.hrz.tu-darmstadt.de (8.13.8/8.13.8/HRZ/PMX) with ESMTP id n0DAMm5L015878; Tue, 13 Jan 2009 11:22:49 +0100 (envelope-from stefan.walk@gmail.com) Received: from mail.rbg.informatik.tu-darmstadt.de (localhost [127.0.0.1]) by fire02.rbg.informatik.tu-darmstadt.de (8.13.8+Sun/8.13.8) with ESMTP id n0DAMmH7001127; Tue, 13 Jan 2009 11:22:48 +0100 (MET) Received: from [10.162.96.15] ([10.162.96.15]) (authenticated bits=0) by mail.rbg.informatik.tu-darmstadt.de (8.14.3/8.14.3) with ESMTP id n0DAMmwD001121 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 13 Jan 2009 11:22:48 +0100 (MET) Cc: troels knak-nielsen , PHP Developers Mailing List Message-ID: To: Alexey Zakhlestin In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 13 Jan 2009 11:22:47 +0100 References: <98b8086f0901130132l15eb4cc5kb85fa7ab557cbd2e@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-PMX: seen v0.4 X-PMX-SPAMCHECK: outgoing mail: not checked Subject: Re: [PHP-DEV] $_GET['a.b.c'] From: stefan.walk@gmail.com (Stefan Walk) On 13 Jan 2009, at 11:09, Alexey Zakhlestin wrote: > On Tue, Jan 13, 2009 at 12:32 PM, troels knak-nielsen > wrote: >> In a recent mail, some kind of issue regarding queryparams was >> mentioned (Possibly related to namespaces). Could anybody explain >> what >> the issue is, or point to where it's discussed? > > Currently, php replaces dots in paramter-names with underscores. This > is a legacy of register_globals. > As register_globals still can be enabled in 5.3, it is better to leave > this replacement for consistency reasons (you can't have $a.b.c > variable). > In 6.0, on the other hand, register_globals is not available. So, it > doesn't make sense to have replacement there too. > > 5.3 is left with status-quo: > ?a.b.c=10 => $a_b_c, $_GET['a_b_c'] > > 6.0 will have: > ?a.b.c=10 => $_GET['a.b.c'] I think there should be a period where both methods of access are possible, allowing for smoother transition. Best regards, Stefan