Re: getting $_ENV variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Brown wrote:

   I guess I really didn't understand that myself before either.  So
Richard, even though it's disabling data output, it still exists as an
array?

The array ($_ENV) exists, it is just the population of it that has been disabled, thus it's empty. Just in the same way that doing a print_r($_GET) will always display an empty array even if the query string is totally blank, or print_r($_POST) does the same, even though you didn't post a thing to the script.

The super-globals I guess must just be created at run-time, and populated later on in the process, by which time the php.ini settings have been taken into account and stopped the action.

Cheers,

Rich
--
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux