diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-08-09 21:00:42 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-08-09 21:00:42 +0000 |
commit | c6134c346c7268ea7517358f58a5a2f512c5d748 (patch) | |
tree | aa6481b18ed31d49ed8822afaddcc369259c9db1 /ext/mbstring/tests | |
parent | e5b7d5ccb418afd25f932737f399328fe90e6a0b (diff) | |
download | php-git-c6134c346c7268ea7517358f58a5a2f512c5d748.tar.gz |
Use getenv() rather then $_ENV, the latter is not always avaliable.
Diffstat (limited to 'ext/mbstring/tests')
-rw-r--r-- | ext/mbstring/tests/php_gr_jp_16242.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/tests/php_gr_jp_16242.phpt b/ext/mbstring/tests/php_gr_jp_16242.phpt index a4dc60dc3c..774b4fb1e6 100644 --- a/ext/mbstring/tests/php_gr_jp_16242.phpt +++ b/ext/mbstring/tests/php_gr_jp_16242.phpt @@ -21,7 +21,7 @@ $cmd = 'echo "<?php '; $cmd .= "var_dump(ini_get('mbstring.language'));"; $cmd .= "var_dump(ini_get('mbstring.internal_encoding'));"; $cmd .= 'var_dump(mb_internal_encoding());'; -$cmd .= ' ?>" |'.$_ENV["TEST_PHP_EXECUTABLE"].' -c '.$tmpfile; +$cmd .= ' ?>" |'.getenv("TEST_PHP_EXECUTABLE").' -c '.$tmpfile; system($cmd); |