summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_006.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/iterator_006.phpt')
-rwxr-xr-xext/spl/tests/iterator_006.phpt24
1 files changed, 0 insertions, 24 deletions
diff --git a/ext/spl/tests/iterator_006.phpt b/ext/spl/tests/iterator_006.phpt
deleted file mode 100755
index 05a1cc5a94..0000000000
--- a/ext/spl/tests/iterator_006.phpt
+++ /dev/null
@@ -1,24 +0,0 @@
---TEST--
-SPL: IteratorIterator and SimpleXMlElement
---SKIPIF--
-<?php if (!extension_loaded("spl") || !extension_loaded('simplexml')) print "skip"; ?>
---FILE--
-<?php
-
-$root = simplexml_load_string('<?xml version="1.0"?>
-<root>
- <child>Hello</child>
- <child>World</child>
-</root>
-');
-
-foreach (new IteratorIterator($root->child) as $child) {
- echo $child."\n";
-}
-?>
-===DONE===
-<?php exit(0); ?>
---EXPECT--
-Hello
-World
-===DONE===