Bug #11733 Updated: Crash on For Loop

From: Date: Thu, 28 Jun 2001 00:09:58 +0000
Subject: Bug #11733 Updated: Crash on For Loop
Groups: php.dev 
Request: Send a blank email to php-dev+get-58250@lists.php.net to get a copy of this message
ID: 11733 Updated by: cynic Reported By: ufuk.kocolu@isletmekulubu.com Status: Bogus Bug Type: *Function Specific Operating system: PHP Version: 4.0.6 Assigned To: Comments: besides, the $i == 5 statement is also bogus. Previous Comments: --------------------------------------------------------------------------- [2001-06-27 13:35:01] sniper@php.net RTFM. Use $i=0. --------------------------------------------------------------------------- [2001-06-27 08:15:24] ufuk.kocolu@isletmekulubu.com I can't get anything when I code: for ($i == 0; $i == 5; $i++) { echo $i; } But there's no problem with: for ($i == 0; $i < 5; $i++) { echo $i; } --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11733&edit=2

« previous php.dev (#58250) next »