summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-06-29 11:52:18 +0000
committerAntony Dovgal <tony2001@php.net>2005-06-29 11:52:18 +0000
commitf4667ee2683250238ca09ed3abca91424882cff1 (patch)
treeba6be5325cedb0fa4b8cca27f8d0a64eedf2ca81
parent58379a1d6c9ceea9ae39fa1b947418aae0f0095d (diff)
downloadphp-git-f4667ee2683250238ca09ed3abca91424882cff1.tar.gz
fix test
-rw-r--r--ext/xml/tests/bug32001.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/xml/tests/bug32001.phpt b/ext/xml/tests/bug32001.phpt
index 26bf58427c..6b7320d06b 100644
--- a/ext/xml/tests/bug32001.phpt
+++ b/ext/xml/tests/bug32001.phpt
@@ -156,7 +156,8 @@ $suite = array(
);
if (XML_SAX_IMPL == 'libxml') {
- preg_match("/^libxml2 Version.*\$/im", `$_ENV[TEST_PHP_EXECUTABLE] -i`, $match);
+ $php = getenv('TEST_PHP_EXECUTABLE');
+ preg_match("/^libxml2 Version.*\$/im", `$php -i`, $match);
echo $match[0], "\n";
} else {
echo "libxml2 Version => NONE\n";