ID: 9971
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Scripting Engine problem
Description: Crash

I use PHP4.0.5dev on NT4.0
the code is simple 
<table border=0>
<?
for ($i = 0; $i = $newvalue; $i++)
 {
?>
<tr>
<td>
<? echo $i; ?>
</td>
</tr>
<?
}
?>
</table>

Previous Comments:
---------------------------------------------------------------------------

[2001-03-24 12:07:35] [EMAIL PROTECTED]
Can you post the whole source of a script that crashes on the web somewhere? (Or if 
it's small, put it into this bug report). Can you also tell which version of PHP4 you 
are using?

---------------------------------------------------------------------------

[2001-03-24 12:04:20] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---------------------------------------------------------------------------

[2001-03-24 11:57:10] [EMAIL PROTECTED]
I get a crash, my whole system stops and I have to restart usually.

---------------------------------------------------------------------------

[2001-03-24 11:31:00] [EMAIL PROTECTED]
Do you get a crash or a parse error?

---------------------------------------------------------------------------

[2001-03-24 11:26:02] [EMAIL PROTECTED]
When I tried to create a for loop like (for $i = 0; $i = 10; $i++) ... it crashes out. 
After I changed the code like 
for ($i = 0; $i < 10; $i++) it is ok. Sometimes I have problem with $i++ too in for 
loops so I change them to $i+=$x.

---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=9971


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to