From: porton at narod dot ru Operating system: Debian Linux PHP version: 5.5Git-2013-02-28 (Git) Package: *General Issues Bug Type: Bug Bug description:$_ENV{"PATH"} does not work
Description: ------------ With Bash: $ php -r 'echo $_ENV{"PATH"}, "\n";' PHP Notice: Undefined index: PATH in Command line code on line 1 The variable PATH is of course defined in my Bash. Version info: Debian Linux Wheezy $ php --version PHP 5.4.4-13 (cli) (built: Feb 19 2013 12:42:38) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies Test script: --------------- php -r 'echo $_ENV{"PATH"}, "\n";' -- Edit bug report at https://bugs.php.net/bug.php?id=64322&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64322&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64322&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64322&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64322&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64322&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64322&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64322&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64322&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64322&r=support Expected behavior: https://bugs.php.net/fix.php?id=64322&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64322&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64322&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64322&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64322&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64322&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64322&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64322&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64322&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64322&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64322&r=mysqlcfg