Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98933 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50740 invoked from network); 2 May 2017 14:07:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2017 14:07:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.19 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.15.19 mout.gmx.net Received: from [212.227.15.19] ([212.227.15.19:62742] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/A6-02776-E9298095 for ; Tue, 02 May 2017 10:07:27 -0400 Received: from [192.168.2.102] ([79.243.113.37]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lj1Xa-1de4jF1Nwk-00dESr; Tue, 02 May 2017 16:07:23 +0200 To: Andrey Andreev , "internals@lists.php.net" References: Message-ID: Date: Tue, 2 May 2017 16:07:27 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:745ZqagAYjadrRm/lpoNGkIuGoMBCVyoXOoDW7WYGziEaS/WIOs cA3sg8hlhphGEHX/5b0byc5w9sK237LHwhLj/Cyk29Tq1sKdwUAX4bzEwzXGNcCn4wP2vz8 0jixv7qsgjaJJDJNIsITQd6MjrDNSvfkw4VwExTmaTHsFtgZKUdcAEmPH9UjvU4YFeNkgLV ETEvnSdTW3EGEyL8/bXcw== X-UI-Out-Filterresults: notjunk:1;V01:K0:GqBrnXaaCYA=:V+ELQp2g9Rlm+v2Y+UKAr9 kqFmQzyf07IPupsnzM3k2lw2XHDpUvLs5FqNeJ4Git9lkuHxpsipqhd6Rn6eNOkZ3uOAYPqbi 7LihDtBeSp0jGs3AKFfC1n6pdIbGMiDIOxjndYDFWRhpDPHi5x0HqDqjilzheST2196vtjhRP tlvW7ESluN6ZgGINgUcDv8qQjKhKKw9e7LzkNX9CIrIfs5AbrTiy79sTx4cj0JCn5m2ISi0MQ J6BV/hc9uPi0VvAOWJRdL4phSXU9fvvdJvI37t/y1ko3RbN6IQNwf25PewWiuOn/xsoTYoXFp 9h6lO53mEXoH+rZk58sgH3vzkKSWHtIG/pDDHwWmVSsAgB0HLn6KP56mo0g/UQXsKrb9AdTMy XQia/DK7nUYc6p6+bpjGfL6EQpMighuYse/HxbZv69feCigsNz44VTfD6e0+vNPp5S+cvtIgy gr0vm9tmlqFCHemLLv2B129S3UyR9j+5KYwESmLYu2bD/oo9KO2uKOuGKdeFnx41cGhmEJNKC DQdxAKvHFp5Qo0jPS+36oknaBxZOpZ37WhYaM4fQkXhjkKVIaWmKU76NrvdoNsIRkfK/IM5+3 itR3xRamsNGqevmrzm208vyEm00coIPa0ZyELtj92dRe0/ti+6rOJDgZP3E7Kcom+Lf2AKOsG T9sfX54dpMFFecwHCruwSjvLn1S8Fb8xLi2DdzirBSf9O4kiYnR1dZ0rQQWpFUodi98umn4+H APz0eYVACwRd9oFNHBBy4BTlEtZlVsV2mczMWxnHotcUBIpLKq4g8HHkf+TVYpZN1057tkxiL GC4kDhD Subject: Re: [Discussion] Dots and spaces in GPC variable names From: cmbecker69@gmx.de ("Christoph M. Becker") On 02.05.2017 at 12:56, Andrey Andreev wrote: > With parse_str() usage without a second parameter being deprecated, I > was looking to possibly drop the behavior where it replaces spaces and > dots with underscores in the result array, and ... As it often turns > out - it's not that simple, because it re-uses the code that handles > GPC vars. > > I didn't even know this mangling happened with GPC vars. I can only > assume that's legacy from the the register_global days, as I certainly > don't see a reason for it now. Am I missing something? > > And more importantly, can we change that? It's a significant BC break, > yes, but the current behavior is horribly broken IMO. This issue has been already brought to the list quite a while ago[1]. IMHO, the big problem is the subtle BC break. [1] -- Christoph M. Becker