moriyoshi Sun Oct 5 09:53:17 2003 EDT Modified files: /php-src/ext/simplexml/tests bug24392.phpt Log: Fix test to make sure it can find the external xml file relatively to the script file. Index: php-src/ext/simplexml/tests/bug24392.phpt diff -u php-src/ext/simplexml/tests/bug24392.phpt:1.1 php-src/ext/simplexml/tests/bug24392.phpt:1.2 --- php-src/ext/simplexml/tests/bug24392.phpt:1.1 Mon Jun 30 15:16:41 2003 +++ php-src/ext/simplexml/tests/bug24392.phpt Sun Oct 5 09:53:16 2003 @@ -1,13 +1,13 @@ --TEST-- -Bug #24392: empty namespaces causing confusion +Bug #24392 (empty namespaces causing confusion) --SKIPIF-- -<?php if (!extension_loaded("simplexml")) print "skip"; ?> +<?php if (!extension_loaded("simplexml")) print "skip simplexml extension is not loaded"; ?> --POST-- --GET-- --INI-- --FILE-- <?php -$s = simplexml_load_file('ext/simplexml/tests/bug24392.xml'); +$s = simplexml_load_file(dirname(__FILE__).'/bug24392.xml'); foreach ($s->item as $item) { echo $item->title . "\n"; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php