Re: Re: Changes to SuperGlobals for PHP 8 (was: somethingabout session_start...)
| From: | Andrea Faulds | Date: | Sat, 29 Jul 2017 16:58:37 +0000 |
| Subject: | Re: Re: Changes to SuperGlobals for PHP 8 (was: somethingabout session_start...) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100109@lists.php.net to get a copy of this message | ||
Sara Golemon wrote:
On Sat, Jul 29, 2017 at 10:08 AM, Andrea Faulds <ajf@ajf.me> wrote:Come to think of it, can we fix $_FILES while we're at it? :p -- Andrea Faulds https://ajf.me/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.