From 4362c16f6ae3a0f81e477cc16a03166aafb047b9 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Wed, 9 Jul 2008 20:34:36 +0000 Subject: [PATCH] Test extended iterators methods --- ext/spl/tests/fixedarray_019.phpt | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 ext/spl/tests/fixedarray_019.phpt 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 -- 2.50.1