php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50598 Add $_CLIENT Superglobal
Submitted: 2009-12-28 21:27 UTC Modified: 2009-12-28 22:18 UTC
From: mako281 at gmail dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 5.3.2RC1 OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mako281 at gmail dot com
New email:
PHP Version: OS:

 

 [2009-12-28 21:27 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-28 22:18 UTC] rasmus@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 22:01:30 2024 UTC