diff options
Diffstat (limited to 'tests/php/phpt/valueiterator/005.phpt')
-rw-r--r-- | tests/php/phpt/valueiterator/005.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/php/phpt/valueiterator/005.phpt b/tests/php/phpt/valueiterator/005.phpt new file mode 100644 index 0000000..e5df91e --- /dev/null +++ b/tests/php/phpt/valueiterator/005.phpt @@ -0,0 +1,19 @@ +--TEST-- +Iterate itarable oblect +--DESCRIPTION-- +class impIterAggr1 implements IteratorAggregate +--SKIPIF-- +<?php if (!extension_loaded("extention_for_tests")) print "skip"; ?> +--FILEEOF-- +<?php +require dirname(__FILE__) . '/../../include/valueiterator/1.php'; + +$iag1 = new impIterAggr1; + +TestValueIterator\loopValue($iag1); + +--EXPECT-- +Array/Object contains 0 items +[cl0_float]=3.14 +[cl0_str1]=public str1 +~impIterAggr1
\ No newline at end of file |