From: Sterling Hughes Date: Mon, 30 Jun 2003 18:09:11 +0000 (+0000) Subject: add a test for shane's bug #24392 X-Git-Tag: BEFORE_ARG_INFO~525 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00c83984a3b6de3633130670139f8d7b6e5863ef;p=php add a test for shane's bug #24392 --- diff --git a/ext/simplexml/tests/002.phpt b/ext/simplexml/tests/002.phpt new file mode 100644 index 0000000000..4154a91e16 --- /dev/null +++ b/ext/simplexml/tests/002.phpt @@ -0,0 +1,25 @@ +--TEST-- +Checking bug #24392, empty namespaces causing confusion +--SKIPIF-- + +--POST-- +--GET-- +--INI-- +--FILE-- +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 diff --git a/ext/simplexml/tests/002.xml b/ext/simplexml/tests/002.xml new file mode 100644 index 0000000000..d669f1df41 --- /dev/null +++ b/ext/simplexml/tests/002.xml @@ -0,0 +1,76 @@ + + + + + +Slashdot +http://slashdot.org/ +News for nerds, stuff that matters + + + +Slashdot +http://images.slashdot.org/topics/topicslashdot.gif +http://slashdot.org/ + + + +EU Parliament to Vote on New Patent Rules +http://slashdot.org/article.pl?sid=03/06/30/002211 + + + +Most Powerful Amateur Rocket in Canada +http://slashdot.org/article.pl?sid=03/06/29/2121211 + + + +GF FX 5900 Ultra vs. ATi Radeon 9800 Pro +http://slashdot.org/article.pl?sid=03/06/29/202218 + + + +PHP 5 Beta 1 +http://slashdot.org/article.pl?sid=03/06/29/1957253 + + + +Engaging with the OSS Community +http://slashdot.org/article.pl?sid=03/06/29/1913235 + + + +Pure Math, Pure Joy +http://slashdot.org/article.pl?sid=03/06/29/183258 + + + +Windows Tech Writer Looks at Linux +http://slashdot.org/article.pl?sid=03/06/29/1554201 + + + +US Cell Phone Users Discover SMS Spam +http://slashdot.org/article.pl?sid=03/06/29/1542249 + + + +Verizon Sues Nextel For Espionage +http://slashdot.org/article.pl?sid=03/06/29/1443230 + + + +Introduction to Debian +http://slashdot.org/article.pl?sid=03/06/29/1424213 + + + +Search Slashdot +Search Slashdot stories +query +http://slashdot.org/search.pl + + + \ No newline at end of file