#50598 [Opn->WFx]: Add $_CLIENT Superglobal
| From: | rasmus@php.net | Date: | Mon, 28 Dec 2009 22:18:37 +0000 |
| Subject: | #50598 [Opn->WFx]: Add $_CLIENT Superglobal | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146168@lists.php.net to get a copy of this message | ||
ID: 50598
Updated by: rasmus@php.net
Reported By: mako281 at gmail dot com
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: Any
PHP Version: 5.3.2RC1
New Comment:
The reason that it is in the $_SERVER array is because all of these are
actually set by the web server. PHP has nothing to do with these.
Trying to decypher which variables the server gives us were triggered
by the client and which ones weren't would be a mess.
Previous Comments:
------------------------------------------------------------------------
[2009-12-28 21:27:25] mako281 at gmail dot com
Description:
------------
I think there would be some benefit in separating Client information
(ie. HTTP Request Information, User-Agent, User Auth Information) from
the $_SERVER superglobal and creating a new superglobal called
$_CLIENT. Nothing major, but I think it makes logical sense.
(btw, PHP Version is irrelevent, but it wouldn't let me select that
option) :P
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50598&edit=1