note 95971 deleted from language.variables.superglobals by danbrown
| From: | danbrown@php.net | Date: | Mon, 01 Feb 2010 15:24:16 +0000 |
| Subject: | note 95971 deleted from language.variables.superglobals by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-165565@lists.php.net to get a copy of this message | ||
Note Submitter: Brian dot Chandler dot Programmer at gmail dot com
----
Sorry, forgot an odd bug on my post. Apparently $_SERVER doesn't show and such. I read that
"register_long_arrays" set to "On" in the php.ini fixes this, but the below
worked for me to get them to show up if something was there.
<?php
/*
* Added these to register them since they were NULL if not
* being used. register_long_arrays=On in php.ini can resolve,
* but was mentioned as performance hit.
*/
$_SERVER; // Now shows...
$_REQUEST; // Now shows...
$_ENV; // Showed array()...
?>