From: elmu at gmx dot de Operating system: Windows PHP version: 6SVN-2009-09-05 (snap) PHP Bug Type: Variables related Bug description: $_ENV does not work
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 bug report at http://bugs.php.net/?id=49476&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49476&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49476&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49476&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49476&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49476&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49476&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49476&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49476&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49476&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49476&r=support Expected behavior: http://bugs.php.net/fix.php?id=49476&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49476&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49476&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49476&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49476&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49476&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49476&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49476&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49476&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49476&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49476&r=mysqlcfg