mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
23 lines
628 B
PHP
23 lines
628 B
PHP
--TEST--
|
|
Bug #24392 (empty namespaces causing confusion)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("simplexml")) print "skip simplexml extension is not loaded"; ?>
|
|
--FILE--
|
|
<?php
|
|
$s = simplexml_load_file(dirname(__FILE__).'/bug24392.xml');
|
|
foreach ($s->item as $item) {
|
|
echo $item->title . "\n";
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
EU Parliament to Vote on New Patent Rules
|
|
Most Powerful Amateur Rocket in Canada
|
|
GF FX 5900 Ultra vs. ATi Radeon 9800 Pro
|
|
PHP 5 Beta 1
|
|
Engaging with the OSS Community
|
|
Pure Math, Pure Joy
|
|
Windows Tech Writer Looks at Linux
|
|
US Cell Phone Users Discover SMS Spam
|
|
Verizon Sues Nextel For Espionage
|
|
Introduction to Debian
|