note 98270 added to reserved.variables.globals

From: Date: Sat, 05 Jun 2010 13:07:25 +0000
Subject: note 98270 added to reserved.variables.globals
Groups: php.notes 
Request: Send a blank email to php-notes+get-169904@lists.php.net to get a copy of this message
Regarding my note below, when I said... $GLOBALS does not have indexes _SERVER, _REQUEST or _ENV unless you make reference, somewhere in your script, to $_SERVER, etc. ... I now see that this was reported as a bug some six years ago, http://bugs.php.net/bug.php?id=29176, but was flagged as "wont fix". Certainly useful to mention it here then! Another work-around is to set "register_long_arrays = On" in php.ini ---- Server IP: 69.147.83.197 Probable Submitter: 83.104.168.235 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.globals.php Edit -- https://master.php.net/note/edit/98270 Del: integrated -- https://master.php.net/note/delete/98270/integrated Del: useless -- https://master.php.net/note/delete/98270/useless Del: bad code -- https://master.php.net/note/delete/98270/bad+code Del: spam -- https://master.php.net/note/delete/98270/spam Del: non-english -- https://master.php.net/note/delete/98270/non-english Del: in docs -- https://master.php.net/note/delete/98270/in+docs Del: other reasons-- https://master.php.net/note/delete/98270 Reject -- https://master.php.net/note/reject/98270 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169904) next »