From: Etienne Kneuss Date: Wed, 9 Jul 2008 20:34:36 +0000 (+0000) Subject: Test extended iterators methods X-Git-Tag: BEFORE_HEAD_NS_CHANGE~1325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4362c16f6ae3a0f81e477cc16a03166aafb047b9;p=php Test extended iterators methods --- diff --git a/ext/spl/tests/fixedarray_019.phpt b/ext/spl/tests/fixedarray_019.phpt new file mode 100644 index 0000000000..e8537cabd7 --- /dev/null +++ b/ext/spl/tests/fixedarray_019.phpt @@ -0,0 +1,51 @@ +--TEST-- +SPL: SplFixedArray with overriden iterator methods +--FILE-- +$v) { + echo "$k=>"; + var_dump($v); +} +?> +--EXPECT-- +rewind +valid +current +key +0=>NULL +next +valid +current +key +1=>NULL +next +valid +current +key +2=>NULL +next +valid