Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100109 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62686 invoked from network); 29 Jul 2017 16:58:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2017 16:58:43 -0000 X-Host-Fingerprint: 95.148.131.182 unknown Received: from [95.148.131.182] ([95.148.131.182:14839] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 60/00-40376-2CEBC795 for ; Sat, 29 Jul 2017 12:58:43 -0400 Message-ID: <60.00.40376.2CEBC795@pb1.pair.com> To: internals@lists.php.net References: <48.3D.40376.3F69C795@pb1.pair.com> Date: Sat, 29 Jul 2017 17:58:37 +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: 95.148.131.182 Subject: Re: [PHP-DEV] Re: Changes to SuperGlobals for PHP 8 (was: somethingabout session_start...) From: ajf@ajf.me (Andrea Faulds) Sara Golemon wrote: > On Sat, Jul 29, 2017 at 10:08 AM, Andrea Faulds wrote: >> I'd just like to add that if we were going to make BC-breaking changes to >> superglobals in PHP 8, we might as well also get rid of the name mangling on >> keys for $_GET, $_POST and $_REQUEST at the same time ("foo.x" becomes >> "foo_x" etc, because we used to have register_globals and needed clean >> variable names). >> > Excellent point. I always forget this is a thing we do and it needs > to die. Even if we leave everything else aboue the super globals > alone, this one thing should die in PHP 8. Come to think of it, can we fix $_FILES while we're at it? :p -- Andrea Faulds https://ajf.me/