Bug #16199 Updated: Loop not looping

From: Date: Fri, 03 May 2002 20:28:11 +0000
Subject: Bug #16199 Updated: Loop not looping
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6860@lists.php.net to get a copy of this message
ID: 16199 Updated by: paul79@optonline.net Reported By: paul79@optonline.net Status: Feedback Bug Type: Scripting Engine problem Operating System: FreeBSD 4.5 PHP Version: 4.1.2 New Comment: sander, RTFM? Apology accepted. :) Like I had stated previously, I have changed my code to work around this "bug". I guess I should've kept the original. I do not have other examples. Sorry. Best of luck!! Paul Previous Comments: ------------------------------------------------------------------------ [2002-05-03 15:10:19] sander@php.net Sorry, this is something else. Reopening and waiting for your sample script. ------------------------------------------------------------------------ [2002-05-03 14:07:27] sander@php.net This is NOT a bug! for ($i=0; $i<60; $i++); ^^^ You don't want that semi-colon there. Remove it and it works as expected! Loops are working perfectly: I use loops more than you write PHP code and they always work for me! RTFM! ------------------------------------------------------------------------ [2002-05-03 14:05:34] mfischer@php.net Reopening, as the original problem is not yet resolved. Please provide a *short* and *self-contained* example so we can reproduce it. ------------------------------------------------------------------------ [2002-05-03 13:53:44] paul79@optonline.net This is a bug. I've had mutiple people come up with the same result. Let's stop being lazy, and really try to duplicate this. Actually, I already rewrote my code, to account for this. Might as well, leave it as "BOGUS". Yeah right. ------------------------------------------------------------------------ [2002-05-03 10:02:52] cynic@php.net what about the semicolon after for (...) ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16199 -- Edit this bug report at http://bugs.php.net/?id=16199&edit=1

« previous php.bugs (#6860) next »