From: Yasuo Ohgaki Date: Sat, 23 Mar 2002 01:50:54 +0000 (+0000) Subject: Fix test :) X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f3d9a67f973414ff787e298e94a471560157273;p=php Fix test :) --- diff --git a/tests/lang/031.phpt b/tests/lang/031.phpt index 7a88cb6879..17a38d551d 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