Edit report at https://bugs.php.net/bug.php?id=63926&edit=1

 ID:                 63926
 Updated by:         [email protected]
 Reported by:        lgynove at 163 dot com
 Summary:            n/a
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            Reflection related
 Operating System:   windows xp
 PHP Version:        5.4.10
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




Previous Comments:
------------------------------------------------------------------------
[2013-01-07 08:53:12] lgynove at 163 dot com

Description:
------------
n/a

Test script:
---------------
$array = array(1);
while(list($k, $v) = each($array))
{                       
        foreach($array as $v2)
        {
                $array[$k] = 2;
                echo $array[$k];
        }
}

Expected result:
----------------
2

Actual result:
--------------
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
Endless cycle


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



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

Reply via email to