Bug #14734 Updated: new superglobals ($_SERVER, etc.) not documented

From: Date: Tue, 12 Mar 2002 01:56:56 +0000
Subject: Bug #14734 Updated: new superglobals ($_SERVER, etc.) not documented
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-2271@lists.php.net to get a copy of this message
ID: 14734 Updated by: torben@php.net Reported By: abraham_guyt@bigfoot.com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Win XP PHP Version: 4.1.0 New Comment: This has been fixed in CVS. FWIW, I think that if $PHP_SELF is to be documented outside of the $_SERVER list, it should be worded carefully to prevent users wondering why $PHP_SELF isn't available in the global scope. Torben Previous Comments: ------------------------------------------------------------------------ [2002-03-11 20:56:51] torben@php.net This has been fixed in CVS. FWIW, I think that if $PHP_SELF is to be documented outside of the $_SERVER list, it should be worded carefully to prevent users wondering why $PHP_SELF isn't available in the global scope. Torben ------------------------------------------------------------------------ [2002-01-04 01:16:40] imajes@php.net but $PHP_SELF is also a special variable, so I think also listing it out of any collection is a good thing. ------------------------------------------------------------------------ [2001-12-28 11:35:45] goba@php.net Tested again. Yes you are right. It would be good to have it listed only in _SERVER, as the other vars. ------------------------------------------------------------------------ [2001-12-28 10:29:47] mfischer@php.net It's printed in _SERVER too (apache 1.3.22/php 4.1.0). ------------------------------------------------------------------------ [2001-12-28 10:17:17] goba@php.net Just a note: in the PHP 4.1.0 phpinfo() output, all the predefined vars are printed as _SERVER and _ENV members, except PHP_SELF, it is printed alone, and not in any array. This must be corrected! ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14734 -- Edit this bug report at http://bugs.php.net/?id=14734&edit=1

« previous php.bugs (#2271) next »