RE: [PHP-DEV] Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)

From: Date: Sun, 30 Jul 2017 10:36:32 +0000
Subject: RE: [PHP-DEV] Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-100122@lists.php.net to get a copy of this message
> -----Original Message----- > From: php@golemon.com [mailto:php@golemon.com] On Behalf Of Sara > Golemon > Sent: Saturday, July 29, 2017 5:29 PM > To: Andrea Faulds <ajf@ajf.me> > Cc: PHP internals <internals@lists.php.net> > Subject: Re: [PHP-DEV] Re: Changes to SuperGlobals for PHP 8 (was: something > about session_start...) > > 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. Agreed. Zeev

« previous php.internals (#100122) next »