Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)

From: Date: Fri, 28 Jul 2017 18:29:00 +0000
Subject: Re: Changes to SuperGlobals for PHP 8 (was: something about session_start...)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-100092@lists.php.net to get a copy of this message
On Fr, 2017-07-28 at 11:11 -0400, Sara Golemon wrote: > I'm sure there will be many strong opinions on this, but let's move > this to a new thread. :D Language-wise, I think, refactoring that system would be good. I guess a refactoring is a register_globals-like project, which took 10 years from first deprecations to final removal, since many people abuse it and parameter handling is core to PHP. For read-only access we already have an API: filter_input() etc., maybe the interface could be made "nicer." GitHub shows 267,811 hits for that, but only few "real" "productive" cases. From tutorials etc. this doesn't seem to be widely accepted. https://github.com/search?l=PHP&p=1&q=filter_input&type=Code&utf8=%E2%9 C%93 johannes

« previous php.internals (#100092) next »