From: Etienne Kneuss Date: Wed, 9 Jul 2008 20:35:04 +0000 (+0000) Subject: MFH: Test extended iterators methods X-Git-Tag: php-5.3.0alpha1~415 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b229f9b7d877144ffcf76a7138a3328b0d01cc2f;p=php MFH: 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