ID: 37549 Updated by: [EMAIL PROTECTED] Reported By: violetphp at yahoo dot co dot jp -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: windowsXP PHP Version: 5.1.4 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Maybe you want "break" isntead of "continue". Previous Comments: ------------------------------------------------------------------------ [2006-05-22 13:55:04] violetphp at yahoo dot co dot jp Description: ------------ Cannot use continue keyword with while/do-while. Reproduce code: --------------- $a = 0; do{ if($a == 5) continue; print "$a"; $a++; }while($a < 10); //OR $b = 0; while($b < 10){ if($b == 5) continue; print "$b"; $b++; } Expected result: ---------------- 012346789012346789 Actual result: -------------- Timeout... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37549&edit=1