From: Marcus Boerger Date: Thu, 26 Feb 2004 19:51:08 +0000 (+0000) Subject: Add new test (from pierre) X-Git-Tag: RELEASE_0_2_0~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd7833ec811025bc81f19db8d8949eebf6de81e0;p=php Add new test (from pierre) --- diff --git a/tests/lang/foreach_with_object_001.phpt b/tests/lang/foreach_with_object_001.phpt new file mode 100755 index 0000000000..598b844fb7 --- /dev/null +++ b/tests/lang/foreach_with_object_001.phpt @@ -0,0 +1,25 @@ +--TEST-- +foreach() with foreach($o->mthd()->arr) +--FILE-- +c()->a as $value) { + print "$value\n"; +} + +?> +===DONE=== +--EXPECT-- +1 +2 +3 +4 +5 +===DONE===