Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100100 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45103 invoked from network); 29 Jul 2017 14:06:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2017 14:06:03 -0000 X-Host-Fingerprint: 95.148.131.182 unknown Received: from [95.148.131.182] ([95.148.131.182:23096] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 67/EC-40376-A469C795 for ; Sat, 29 Jul 2017 10:06:02 -0400 Message-ID: <67.EC.40376.A469C795@pb1.pair.com> To: internals@lists.php.net References: <72B777E0-9E71-4D63-A9D0-20FD62F1A187@gmail.com> Date: Sat, 29 Jul 2017 15:05:57 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: <72B777E0-9E71-4D63-A9D0-20FD62F1A187@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Posted-By: 95.148.131.182 Subject: Re: [PHP-DEV] Changes to SuperGlobals for PHP 8 (was: something about session_start...) From: ajf@ajf.me (Andrea Faulds) 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/