PHP 4.0 Bug #9971 Updated: Crash
| From: | ufuk dot kocolu at isletmekulubu dot com | Date: | Sat, 24 Mar 2001 17:39:35 +0000 |
| Subject: | PHP 4.0 Bug #9971 Updated: Crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49890@lists.php.net to get a copy of this message | ||
ID: 9971
User Update by: ufuk.kocolu@isletmekulubu.com
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] derick@php.net
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] ufuk.kocolu@isletmekulubu.com
I get a crash, my whole system stops and I have to restart usually.
---------------------------------------------------------------------------
[2001-03-24 11:57:10] ufuk.kocolu@isletmekulubu.com
I get a crash, my whole system stops and I have to restart usually.
---------------------------------------------------------------------------
[2001-03-24 11:31:00] derick@php.net
Do you get a crash or a parse error?
---------------------------------------------------------------------------
[2001-03-24 11:26:02] ufuk.kocolu@isletmekulubu.com
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