ID:               29533
 User updated by:  indrek at tavid dot ee
 Reported By:      indrek at tavid dot ee
 Status:           Open
 Bug Type:         Variables related
 Operating System: windows 2000
 PHP Version:      4.3.9
 New Comment:

and it's same withh php5


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

[2004-08-05 12:48:53] indrek at tavid dot ee

Description:
------------
for breaks when $x after variable value=0

Reproduce code:
---------------
<?php
for($x=-11;$x++;$x<=10){
        echo $x.'<br>';
}
?>

Expected result:
----------------
...
-5
-4
-3
-2
-1
0
1
2
3
4
...


Actual result:
--------------
-10
-9
-8
-7
-6
-5
-4
-3
-2
-1
0


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


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

Reply via email to