From 5f3d9a67f973414ff787e298e94a471560157273 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Sat, 23 Mar 2002 01:50:54 +0000 Subject: [PATCH] Fix test :) --- tests/lang/031.phpt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/lang/031.phpt b/tests/lang/031.phpt index 7a88cb68796..17a38d551d1 100644 --- a/tests/lang/031.phpt +++ b/tests/lang/031.phpt @@ -9,7 +9,7 @@ Nested while(list() = each()). (Bug #16227) $insidearray = array("0","1"); while(list(,$outerval) = each($outsidearray)){ - //$placeholder = $insidearray; + $placeholder = $insidearray; while(list(,$innerval) = each($insidearray)){ print "inloop $innerval for $outerval\n"; } @@ -18,6 +18,4 @@ Nested while(list() = each()). (Bug #16227) --EXPECT-- inloop 0 for key1 inloop 1 for key1 -inloop 0 for key2 -inloop 1 for key2