diff options
Diffstat (limited to 'ext/spl/tests/sxe_001.phpt')
-rwxr-xr-x | ext/spl/tests/sxe_001.phpt | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/ext/spl/tests/sxe_001.phpt b/ext/spl/tests/sxe_001.phpt deleted file mode 100755 index 72180d6a1e..0000000000 --- a/ext/spl/tests/sxe_001.phpt +++ /dev/null @@ -1,63 +0,0 @@ ---TEST-- -SPL: SimpleXMLIterator ---SKIPIF-- -<?php -if (!extension_loaded("spl")) print "skip"; -if (!extension_loaded("simplexml")) print "skip SimpleXML not present"; -if (!extension_loaded("libxml")) print "skip LibXML not present"; -?> ---FILE-- -<?php - -$xml =<<<EOF -<?xml version='1.0'?> -<!DOCTYPE sxe SYSTEM "notfound.dtd"> -<sxe id="elem1"> - <elem1 attr1='first'> - <!-- comment --> - <elem2> - <elem3> - <elem4> - <?test processing instruction ?> - </elem4> - </elem3> - </elem2> - </elem1> -</sxe> -EOF; - -$sxe = simplexml_load_string($xml, 'SimpleXMLIterator'); - -print_r($sxe); - -?> -===DONE=== ---EXPECT-- -SimpleXMLIterator Object -( - [elem1] => SimpleXMLIterator Object - ( - [comment] => SimpleXMLIterator Object - ( - ) - - [elem2] => SimpleXMLIterator Object - ( - [elem3] => SimpleXMLIterator Object - ( - [elem4] => SimpleXMLIterator Object - ( - [test] => SimpleXMLIterator Object - ( - ) - - ) - - ) - - ) - - ) - -) -===DONE=== |