_SERVER & HTTP_SERVER_VARS
| From: | Prottoss | Date: | Wed, 05 Dec 2001 01:17:01 +0000 |
| Subject: | _SERVER & HTTP_SERVER_VARS | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-72535@lists.php.net to get a copy of this message | ||
I've recently installed php 4.1.0RC5 on a test system and while testing the
build came across an interesting fact.
It would appear that the new PHP creates an identical copy of every system
generated global array, for example _SERVER & HTTP_SERVER_VARS or _COOKIE &
HTTP_COOKIE_VARS.
Is there a reason why those were created twice?
The phpinfo() appears to be using the new format of global arrays, which
start with _, does this mean the long global array names will be phased out
in the near future?
Regards,
--
Prottoss
webmaster@mediaminer.org
ICQ: 23361082
http://mediaminer.org/