jani                                     Mon, 14 Dec 2009 09:41:39 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=292121

Log:
MFB: fix test

Changed paths:
    U   php/php-src/trunk/ext/xml/tests/bug32001b.phpt

Modified: php/php-src/trunk/ext/xml/tests/bug32001b.phpt
===================================================================
--- php/php-src/trunk/ext/xml/tests/bug32001b.phpt      2009-12-14 09:37:33 UTC 
(rev 292120)
+++ php/php-src/trunk/ext/xml/tests/bug32001b.phpt      2009-12-14 09:41:39 UTC 
(rev 292121)
@@ -95,9 +95,7 @@
 );

 if (XML_SAX_IMPL == 'libxml') {
-  $php = getenv('TEST_PHP_EXECUTABLE');
-  preg_match("/^libxml2 Version.*\$/im", `$php -i`, $match);
-  echo $match[0], "\n";
+  echo "libxml2 Version => " . LIBXML_DOTTED_VERSION. "\n";
 } else {
   echo "libxml2 Version => NONE\n";
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to