PHP 4.0 Bug #8199 Updated: Error with for() ?

From: Date: Mon, 11 Dec 2000 23:51:59 +0000
Subject: PHP 4.0 Bug #8199 Updated: Error with for() ?
Groups: php.dev 
Request: Send a blank email to php-dev+get-40911@lists.php.net to get a copy of this message
ID: 8199 Updated by: derick Reported By: vader82@belsouth.net Old-Status: Open Status: Closed Bug Type: Unknown/Other Function Assigned To: Comments: You forgot the ; before the for(;;) line Previous Comments: --------------------------------------------------------------------------- [2000-12-11 18:45:28] vader82@belsouth.net 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8199

« previous php.dev (#40911) next »