PHP 4.0 Bug #7367 Updated: for loop
| From: | derick@php.net | Date: | Fri, 20 Oct 2000 14:09:59 +0000 |
| Subject: | PHP 4.0 Bug #7367 Updated: for loop | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35656@lists.php.net to get a copy of this message | ||
ID: 7367
Updated by: derick
Reported By: d.stender@regiocom-aachen.de
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Of course it doesn't. This is not a bug, that syntax is just wrong.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-20 09:58:33] d.stender@regiocom-aachen.de
Hello everyone,
for ($i = 0; $i < $max; $i++ ) {
echo $i
}
works while
for ($i = 0; $i < $max; $i++; ) {
echo $i
}
does not. Note the added ; in the for definition.
greetings,
Dominique Stender
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7367