Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42595 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70027 invoked from network); 13 Jan 2009 10:09:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2009 10:09:55 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.31 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 74.125.46.31 yw-out-2324.google.com Received: from [74.125.46.31] ([74.125.46.31:57966] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/F2-42308-B586C694 for ; Tue, 13 Jan 2009 05:09:45 -0500 Received: by yw-out-2324.google.com with SMTP id 5so4609523ywb.83 for ; Tue, 13 Jan 2009 02:09:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=a5WMGkjIHjo4qH/1g82fvC0DXDEUAA9o23uP1AA65Wk=; b=Nh+zEltzw6SxDQ9ShhJNirA2/gwlO3c+QAm0gTsg6EeC5WL6UY2VBPolt/HPU6kBzp Ck+Hyq9IN9sbpQdbP0ath+Yx7h5Au0nl+k8G3yUl/uBDYImIlm5GJ6FxY1IO4QzD0SKr yywlkY269HcFQxZgT89RdyHk6pnstXjaVkGzc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=UtW6hvqYNwYR4SZYIq27EgQG1fiy9CNt3FwfkcBEiw7T2NFoaB9QwQTbmWiR2H1JQd K5MnvQF6MMil297W7JPXSIwZ+mc4XrzStpdmlqWGB2OEKR/Q8NQnMdX4qn83l895/HqM UvWR+myF+DH8itQxxWEq4NozZWVhPatvelayc= MIME-Version: 1.0 Received: by 10.100.151.14 with SMTP id y14mr16277989and.117.1231841360263; Tue, 13 Jan 2009 02:09:20 -0800 (PST) In-Reply-To: <98b8086f0901130132l15eb4cc5kb85fa7ab557cbd2e@mail.gmail.com> References: <98b8086f0901130132l15eb4cc5kb85fa7ab557cbd2e@mail.gmail.com> Date: Tue, 13 Jan 2009 13:09:20 +0300 Message-ID: To: troels knak-nielsen Cc: PHP Developers Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] $_GET['a.b.c'] From: indeyets@gmail.com (Alexey Zakhlestin) 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'] > On Mon, Jan 12, 2009 at 11:56 AM, Lukas Kahwe Smith wrote: >> - I guess we are not going to deal with "foo.php?a.b.c = 10" in 5.3.0 >> (should we put something on the 6.0 todo list for this?) -- Alexey Zakhlestin http://www.milkfarmsoft.com/