ID:               30307
 Updated by:       [EMAIL PROTECTED]
 Reported By:      navyism at chol dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: linux
 PHP Version:      4.3.8
 New Comment:

Works fine with latest CVS snapshot. Bogusing since you failed to try
that one first. (and try setting 'error_reporting = E_ALL' once in a
while..)



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

[2004-10-02 04:36:43] navyism at chol dot com

Description:
------------
"$a = $a . $b;" make a unterminated loop.

-> my solutions
1. $a = $a . $b; => $a .= $b;
2. for ($i=0; $i<10; $i++) => for ($i=0; $i<(int)10; $i++) 



Reproduce code:
---------------
<?
$a = $a . $b;
$a = $a . $b;
$a = $a . $b;
$a = $a . $b;
$a = $a . $b;
$a = $a . $b;
$a = $a . $b;

for ($i=0; $i<10; $i++) {
        if($i > 100) die('[EMAIL PROTECTED]');
}

for ($i=0; $i<10; $i++) {
        if($i > 100) die('[EMAIL PROTECTED]');
}

for ($i=0; $i<10; $i++) {
        if($i > 100) die('[EMAIL PROTECTED]');
}

die('OK');
?>

Expected result:
----------------
OK

Actual result:
--------------
[EMAIL PROTECTED]


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


-- 
Edit this bug report at http://bugs.php.net/?id=30307&edit=1

Reply via email to