Annotation of embedaddon/php/ext/simplexml/tests/bug24392.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #24392 (empty namespaces causing confusion)
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded("simplexml")) print "skip simplexml extension is not loaded"; ?>
! 5: --FILE--
! 6: <?php
! 7: $s = simplexml_load_file(dirname(__FILE__).'/bug24392.xml');
! 8: foreach ($s->item as $item) {
! 9: echo $item->title . "\n";
! 10: }
! 11: ?>
! 12: --EXPECT--
! 13: EU Parliament to Vote on New Patent Rules
! 14: Most Powerful Amateur Rocket in Canada
! 15: GF FX 5900 Ultra vs. ATi Radeon 9800 Pro
! 16: PHP 5 Beta 1
! 17: Engaging with the OSS Community
! 18: Pure Math, Pure Joy
! 19: Windows Tech Writer Looks at Linux
! 20: US Cell Phone Users Discover SMS Spam
! 21: Verizon Sues Nextel For Espionage
! 22: Introduction to Debian
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>