PHP 4.0 Bug #8199: Error with for() ?
| From: | vader82 at belsouth dot net | Date: | Mon, 11 Dec 2000 23:45:28 +0000 |
| Subject: | PHP 4.0 Bug #8199: Error with for() ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40908@lists.php.net to get a copy of this message | ||
From: vader82@belsouth.net
Operating system: Slackware 7.1
PHP version: 4.0.3pl1
PHP Bug Type: Unknown/Other Function
Bug description: Error with for() ?
I think there is an error with the for() command, but perhaps there is something I am not seeing.
<?php
$num_fields = 3
parse error--> for ( $i = 0; $i < $num_fields; i++){
echo "It works" ;
} ;
?>
and according to the manual that should work
for (exp1; exp2; exp3) statement
compiled with
--with-mysql --with-apxs
email me for the php.ini
thanks
--
Edit Bug report at: http://bugs.php.net/?id=8199&edit=1