#49476 [Opn]: $_ENV does not work

From: Date: Sat, 05 Sep 2009 23:57:07 +0000
Subject: #49476 [Opn]: $_ENV does not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142017@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#142017) next »