Bug #1972 Updated: while kills while loop

From: Date: Thu, 05 Aug 1999 18:24:53 +0000
Subject: Bug #1972 Updated: while kills while loop
Groups: php.dev 
Request: Send a blank email to php-dev+get-9573@lists.php.net to get a copy of this message
ID: 1972 Updated by: slawrance Reported By: commy_@hotmail.com Status: Open Bug Type: Misbehaving function Assigned To: Comments: Are you using the same loop control variable in both loops (assuming you're taking that approach)? As an example, are you doing something like this: $i = 0; while ($i < 10) { $i = 0; while ($i < 20) $i++; $i++; } In that example, the second while loop would kill the one on top due to the value of $i. Try double-checking your code, and if it still doesn't work then post the code that can reproduce misbehavior if possible :-) Full Bug description available at: http://bugs.php.net/?id=1972

« previous php.dev (#9573) next »