summaryrefslogtreecommitdiff
path: root/ext/spl/tests/spl_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/spl_001.phpt')
-rwxr-xr-xext/spl/tests/spl_001.phpt34
1 files changed, 0 insertions, 34 deletions
diff --git a/ext/spl/tests/spl_001.phpt b/ext/spl/tests/spl_001.phpt
deleted file mode 100755
index e101272a84..0000000000
--- a/ext/spl/tests/spl_001.phpt
+++ /dev/null
@@ -1,34 +0,0 @@
---TEST--
-SPL: iterator_to_array() and iterator_count()
---FILE--
-<?php
-
-$it = new ArrayObject(array("x"=>1, 1=>2, 3=>3, 4, "1"=>5));
-
-$ar = iterator_to_array($it);
-
-var_dump(iterator_count($it));
-
-print_r($ar);
-
-foreach($ar as $v)
-{
- var_dump($v);
-}
-
-?>
-===DONE===
---EXPECT--
-int(4)
-Array
-(
- [x] => 1
- [1] => 5
- [3] => 3
- [4] => 4
-)
-int(1)
-int(5)
-int(3)
-int(4)
-===DONE===