cvs: php-src(PHP_5_0) /ext/xml/tests bug32001.phpt

From: Date: Sun, 03 Apr 2005 00:12:37 +0000
Subject: cvs: php-src(PHP_5_0) /ext/xml/tests bug32001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31192@lists.php.net to get a copy of this message
sniper Sat Apr 2 19:12:37 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/xml/tests bug32001.phpt Log: MFH http://cvs.php.net/diff.php/php-src/ext/xml/tests/bug32001.phpt?r1=1.1.2.3&r2=1.1.2.4&ty=u Index: php-src/ext/xml/tests/bug32001.phpt diff -u php-src/ext/xml/tests/bug32001.phpt:1.1.2.3 php-src/ext/xml/tests/bug32001.phpt:1.1.2.4 --- php-src/ext/xml/tests/bug32001.phpt:1.1.2.3 Sun Mar 13 20:14:52 2005 +++ php-src/ext/xml/tests/bug32001.phpt Sat Apr 2 19:12:34 2005 @@ -151,10 +151,12 @@ 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();

« previous php.cvs (#31192) next »