xref: /PHP-8.1/ext/simplexml/tests/bug24392.phpt (revision 7f2f0c00)
1--TEST--
2Bug #24392 (empty namespaces causing confusion)
3--EXTENSIONS--
4simplexml
5--FILE--
6<?php
7$s = simplexml_load_file(__DIR__.'/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