Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98945 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80180 invoked from network); 2 May 2017 20:08:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2017 20:08:22 -0000 X-Host-Fingerprint: 2.29.255.121 unknown Received: from [2.29.255.121] ([2.29.255.121:22076] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/2B-02776-537E8095 for ; Tue, 02 May 2017 16:08:22 -0400 Message-ID: <57.2B.02776.537E8095@pb1.pair.com> To: internals@lists.php.net References: Date: Tue, 2 May 2017 21:08:18 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 2.29.255.121 Subject: Re: [Discussion] Dots and spaces in GPC variable names From: ajf@ajf.me (Andrea Faulds) Hey Andrey, Andrey Andreev wrote: >I'm not surprised by the suggestion for targeting 8.0, but perhaps we > could think of a way to conditionally disable the mangling in 7.x and > then remove it entirely in 8? > I hate to say INI directives, but that's surely one way for a smoother > transition. Another approach I'd previously thought of was to keep in memory whatever information would be needed to undo the mangling process for the superglobals, and provide a function which would undo it. Then in 8.x it could become a no-op. That wouldn't really help for parse_str, though. But for that function it could just be a flag. Thanks for bringing this up again! -- Andrea Faulds https://ajf.me/