summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_019.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/iterator_019.phpt')
-rwxr-xr-xext/spl/tests/iterator_019.phpt33
1 files changed, 0 insertions, 33 deletions
diff --git a/ext/spl/tests/iterator_019.phpt b/ext/spl/tests/iterator_019.phpt
deleted file mode 100755
index 09842b0988..0000000000
--- a/ext/spl/tests/iterator_019.phpt
+++ /dev/null
@@ -1,33 +0,0 @@
---TEST--
-SPL: NoRweindIterator
---FILE--
-<?php
-
-echo "===Current===\n";
-
-$it = new NoRewindIterator(new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C')));
-
-echo $it->key() . '=>' . $it->current() . "\n";
-
-echo "===Next===\n";
-
-$it->next();
-
-echo "===Foreach===\n";
-
-foreach($it as $key=>$val)
-{
- echo "$key=>$val\n";
-}
-
-?>
-===DONE===
-<?php exit(0); ?>
---EXPECTF--
-===Current===
-0=>A
-===Next===
-===Foreach===
-1=>B
-2=>C
-===DONE===