Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54542 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48886 invoked from network); 12 Aug 2011 14:31:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2011 14:31:20 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:42224] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/62-40016-639354E4 for ; Fri, 12 Aug 2011 10:31:19 -0400 Received: from [192.168.2.230] (ppp-93-104-35-33.dynamic.mnet-online.de [93.104.35.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 57F247728D; Fri, 12 Aug 2011 16:31:15 +0200 (CEST) To: Ferenc Kovacs Cc: Derick Rethans , Laruence , PHP Internals In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Fri, 12 Aug 2011 16:31:13 +0200 Message-ID: <1313159473.2648.11.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] behavior of translating dot in the query variable name into underscore character From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, On Fri, 2011-08-12 at 15:48 +0200, Ferenc Kovacs wrote: > if we would both provide the foo_bar and foo.bar: > > - if your code expects foo.bar to be foo_bar, it's there. > - if you expect foo.bar, it's also fine. > - if you did a workaround in the past (parse the query string > manually), that would also work, in the worst case, you would > overwrite the foo.bar with the same value. ... and we make it complicated for everybody iterating over the array to do some work on all elements. johannes