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

From: Date: Sat, 29 Jul 2017 14:05:57 +0000
Subject: 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-100100@lists.php.net to get a copy of this message
Hi Rowan, Rowan Collins wrote:
On a slight tangent, I consider $_SERVER to be a broken pile of "we'll just shove this in here and hope for the best", and I will oppose any attempt to convert it into an object which doesn't reorganize its keys to be sane, documented, and as cross-platform as the SAPI layer can make it. :P
$_SERVER makes sense to me, its content is what the CGI environment variables would be (or are, if you're actually using CGI in 2017). Those are standardised. I don't know if the PHP documentation acknowledges this, though. Its members certainly aren't well-documented… -- Andrea Faulds https://ajf.me/

« previous php.internals (#100100) next »