Date: 12/30/99
- Next message: Thies C. Arntzen: "[PHP-DEV] HAPPY NEW YEAR!"
- Previous message: Tan Boon Hee: "[PHP-DEV] PHP module doesn't seem to work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: danny.heijl <email protected>
Operating system: RH Linux 5.2 or 6.0
PHP version: 4.0 Latest CVS (30/12/1999)
PHP Bug Type: Scripting Engine problem
Bug description: do .. while with continue no longer works
The following works with PHP3 and used to work with PHP4.
You now get an endless loop :
<?php
$i = 10;
do {
if ($i > 0) {
echo $i . " is > 0 \n";
continue;
} else {
echo $i . " is <= 0\n";
}
} while (--$i > 0);
?>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Thies C. Arntzen: "[PHP-DEV] HAPPY NEW YEAR!"
- Previous message: Tan Boon Hee: "[PHP-DEV] PHP module doesn't seem to work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

