From 55041d6f3d17a8e505e7cdcfdb1256fcc31a0cb7 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 18 May 2006 22:52:04 +0000 Subject: [PATCH] - MFH Add new test --- ext/spl/tests/iterator_040.phpt | 49 +++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100755 ext/spl/tests/iterator_040.phpt diff --git a/ext/spl/tests/iterator_040.phpt b/ext/spl/tests/iterator_040.phpt new file mode 100755 index 0000000000..a162cac68f --- /dev/null +++ b/ext/spl/tests/iterator_040.phpt @@ -0,0 +1,49 @@ +--TEST-- +SPL: RecursiveFilterIterator +--SKIPIF-- + +--FILE-- + $v) +{ + echo "===\n"; + var_dump($it->getDepth()); + var_dump($k); + var_dump($v); +} + +?> +===DONE=== + +--EXPECT-- +=== +int(0) +int(0) +int(1) +=== +int(1) +int(0) +int(21) +=== +int(1) +int(1) +int(22) +=== +int(0) +int(2) +int(3) +===DONE=== -- 2.50.1