diff options
author | foobar <sniper@php.net> | 2005-04-03 00:12:26 (GMT) |
---|---|---|
committer | foobar <sniper@php.net> | 2005-04-03 00:12:26 (GMT) |
commit | fc883fd47774556a96bb5dc1da68c5165c564301 (patch) | |
tree | 5d70d8db3f7a289fc8f2a9174a4019ab824a2f1d /ext | |
parent | 48f4e4bb87257b913cf8d6ac136d64f92be1ea29 (diff) | |
download | php-fc883fd47774556a96bb5dc1da68c5165c564301.tar.gz |
Partial fix test: It is still possible to use expat libs with ext/xml..
Diffstat (limited to 'ext')
-rw-r--r-- | ext/xml/tests/bug32001.phpt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/xml/tests/bug32001.phpt b/ext/xml/tests/bug32001.phpt index 375ceaf..3c91aca 100644 --- a/ext/xml/tests/bug32001.phpt +++ b/ext/xml/tests/bug32001.phpt @@ -151,10 +151,12 @@ $suite = array( new testcase("GB2312", 1), ); -preg_match("/^libxml2 Version.*\$/im", `$_ENV[TEST_PHP_EXECUTABLE] -i`, $match); - -echo $match[0], "\n"; - +if (XML_SAX_IMPL == 'libxml') { + preg_match("/^libxml2 Version.*\$/im", `$_ENV[TEST_PHP_EXECUTABLE] -i`, $match); + echo $match[0], "\n"; +} else { + echo "libxml2 Version => NONE\n"; +} foreach ($suite as $testcase) { $testcase->run(); |