ID:               29533
 Updated by:       [EMAIL PROTECTED]
 Reported By:      indrek at tavid dot ee
-Status:           Open
+Status:           Bogus
 Bug Type:         Variables related
 Operating System: windows 2000
 PHP Version:      4.3.9
 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

See http://php.net/for




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

[2004-08-05 12:50:27] indrek at tavid dot ee

and it's same withh php5

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

[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