Re: Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)
| From: | Sara Golemon | Date: | Sat, 29 Jul 2017 14:29:01 +0000 |
| Subject: | Re: Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100104@lists.php.net to get a copy of this message | ||
On Sat, Jul 29, 2017 at 10:08 AM, Andrea Faulds <ajf@ajf.me> 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.
-Sara