#49476 [Opn]: $_ENV does not work
| From: | elmu at gmx dot de | Date: | Sun, 06 Sep 2009 19:48:16 +0000 |
| Subject: | #49476 [Opn]: $_ENV does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-142038@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:
Note:
It seems that the current PHP 6 has not yet been tested on Windows.
All the bugs I found are related to filesystem or operation system.
Previous Comments:
------------------------------------------------------------------------
[2009-09-05 23:57:06] elmu at gmx dot de
Sorry
I wanted to say $_SERVER["SERVER_SIGNATURE"] works on both.
------------------------------------------------------------------------
[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