xref: /PHP-5.5/ext/simplexml/tests/bug24392.phpt (revision 66ed0a49)
1--TEST--
2Bug #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');
8foreach ($s->item as $item) {
9	echo $item->title . "\n";
10}
11?>
12--EXPECT--
13EU Parliament to Vote on New Patent Rules
14Most Powerful Amateur Rocket in Canada
15GF FX 5900 Ultra vs. ATi Radeon 9800 Pro
16PHP 5 Beta 1
17Engaging with the OSS Community
18Pure Math, Pure Joy
19Windows Tech Writer Looks at Linux
20US Cell Phone Users Discover SMS Spam
21Verizon Sues Nextel For Espionage
22Introduction to Debian
23