summaryrefslogtreecommitdiff
path: root/tests/php/phpt/valueiterator/007-Iterate-internal-array.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/php/phpt/valueiterator/007-Iterate-internal-array.phpt')
-rw-r--r--tests/php/phpt/valueiterator/007-Iterate-internal-array.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/php/phpt/valueiterator/007-Iterate-internal-array.phpt b/tests/php/phpt/valueiterator/007-Iterate-internal-array.phpt
new file mode 100644
index 0000000..1f18203
--- /dev/null
+++ b/tests/php/phpt/valueiterator/007-Iterate-internal-array.phpt
@@ -0,0 +1,15 @@
+--TEST--
+Iterate internal array
+--SKIPIF--
+<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?>
+--FILEEOF--
+<?php
+
+TestValueIterator\loopArray();
+
+--EXPECT--
+Array/Object contains 4 items
+[0]=val0
+[1]=val1
+[third]=val3
+[fourth]=val3