From fbb48b6f2681a16c656c2d03cdbaf2cb6b15d8dd Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 18 May 2006 21:56:57 +0000 Subject: [PATCH] - Add new test --- ext/spl/tests/iterator_038.phpt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 ext/spl/tests/iterator_038.phpt diff --git a/ext/spl/tests/iterator_038.phpt b/ext/spl/tests/iterator_038.phpt new file mode 100755 index 0000000000..bc39a83c8b --- /dev/null +++ b/ext/spl/tests/iterator_038.phpt @@ -0,0 +1,27 @@ +--TEST-- +SPL: RoRewindIterator and string keys +--SKIPIF-- + +--FILE-- +0, 'World'=>1))) as $k => $v) +{ + var_dump($v); + var_dump($k); +} + +?> +===DONE=== +--EXPECT-- +int(0) +string(5) "Hello" +int(1) +string(5) "World" +===DONE=== +--UEXPECT-- +int(0) +unicode(5) "Hello" +int(1) +unicode(5) "World" +===DONE=== -- 2.40.0