#49476 [Opn]: $_ENV does not work
ID: 49476
User updated by: elmu at gmx dot de
Reported By: elmu at gmx dot de
Status: Open
Bug Type: Variables related
Operating System: Windows
PHP Version: 6SVN-2009-09-05 (snap)
New Comment:
Sorry
I wanted to say $_SERVER["SERVER_SIGNATURE"] works on both.
Previous Comments:
------------------------------------------------------------------------
[2009-09-05 23:52:42] elmu at gmx dot de
Description:
------------
$_ENV["OS"]
$_ENV["PROCESSOR_IDENTIFIER"]
$_ENV["COMPUTERNAME"]
are empty on PHP 6 VC6 while the same code works fine on PHP 5,
while
$_ENV["SERVER_SIGNATURE"]
works on both PHP 5 and PHP 6.
On the other hand the missing values appear correctly in phpinfo()
Strange.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49476&edit=1
Thread (8 messages)