#11733 [Com]: Crash on For Loop
| From: | link-Best1057 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:07:47 +0000 |
| Subject: | #11733 [Com]: Crash on For Loop | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62992@lists.php.net to get a copy of this message | ||
ID: 11733
Comment by: link-Best1057 at hotmail dot com
Reported By: ufuk dot kocolu at isletmekulubu dot com
Status: Bogus
Bug Type: *Function Specific
Operating System: NT4.0
PHP Version: 4.0.6
New Comment:
<a href=http://www.geocities.com/gbumprnvo1665/>link
Best</a>
Previous Comments:
------------------------------------------------------------------------
[2001-06-27 20:09:58] cynic@php.net
besides, the $i == 5 statement is also bogus.
------------------------------------------------------------------------
[2001-06-27 13:35:01] sniper@php.net
RTFM. Use $i=0.
------------------------------------------------------------------------
[2001-06-27 08:15:24] ufuk dot kocolu at isletmekulubu dot 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;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11733&edit=1