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/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to