cvs: php-src(PHP_5_2) /ext/dom/tests bug38474.phpt

From: Date: Sat, 08 Mar 2008 19:14:38 +0000
Subject: cvs: php-src(PHP_5_2) /ext/dom/tests bug38474.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-48986@lists.php.net to get a copy of this message
davidc Sat Mar 8 19:14:38 2008 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/dom/tests bug38474.phpt Log: - MFH . Libxml version < 2.6.21 it fails. Patch from scoates http://cvs.php.net/viewvc.cgi/php-src/ext/dom/tests/bug38474.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u Index: php-src/ext/dom/tests/bug38474.phpt diff -u php-src/ext/dom/tests/bug38474.phpt:1.1.2.3 php-src/ext/dom/tests/bug38474.phpt:1.1.2.4 --- php-src/ext/dom/tests/bug38474.phpt:1.1.2.3 Sat Jan 20 19:19:29 2007 +++ php-src/ext/dom/tests/bug38474.phpt Sat Mar 8 19:14:38 2008 @@ -1,7 +1,12 @@ --TEST-- Bug #38474 (getAttribute select attribute by order, even when prefixed) (OK to fail with libxml2 < 2.6.2x) --SKIPIF-- -<?php require_once('skipif.inc'); ?> +<?php +require_once('skipif.inc'); +if (version_compare(LIBXML_DOTTED_VERSION, "2.6.20", "<")) { + print "skip libxml version " . LIBXML_DOTTED_VERSION; +} +?> --FILE-- <?php $xml = '<node xmlns:pre="http://foo.com/tr/pre"

« previous php.cvs (#48986) next »