#25000 [NEW]: ext/mbstring/tests/php_gr_jp_16242.phpt uses $_ENV instead of getenv

From: Date: Sat, 09 Aug 2003 20:27:04 +0000
Subject: #25000 [NEW]: ext/mbstring/tests/php_gr_jp_16242.phpt uses $_ENV instead of getenv
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45640@lists.php.net to get a copy of this message
From: webmaster at ragnarokonline dot de Operating system: PHP version: 4CVS-2003-08-09 (stable) PHP Bug Type: *Compile Issues Bug description: ext/mbstring/tests/php_gr_jp_16242.phpt uses $_ENV instead of getenv Description: ------------ The new testcase located at ext/mbstring/tests/php_gr_jp_16242.phpt fails, because $_ENV["TEST_PHP_EXECUTABLE"] is used instead of getenv("TEST_PHP_EXECUTABLE") To run this test, execute TEST_PHP_EXECUTABLE=sapi/cli/php \ sapi/cli/php -n run-tests.php \ ext/mbstring/tests/php_gr_jp_16242.phpt after compiling PHP The fix is simple: in ext/mbstring/tests/php_gr_jp_16242.phpt REPLACE $cmd .= ' ?>" |'.$_ENV["TEST_PHP_EXECUTABLE"].' -c '.$tmpfile; WITH $cmd .= ' ?>" |'.getenv("TEST_PHP_EXECUTABLE").' -c '.$tmpfile; -- Edit bug report at http://bugs.php.net/?id=25000&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25000&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25000&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25000&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25000&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25000&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25000&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25000&r=support Expected behavior: http://bugs.php.net/fix.php?id=25000&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25000&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25000&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25000&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25000&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25000&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25000&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25000&r=gnused

« previous php.bugs (#45640) next »