|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-05 12:50 UTC] indrek at tavid dot ee
[2004-08-05 12:53 UTC] derick@php.net
[2004-08-05 13:15 UTC] indrek at tavid dot ee
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 23:00:01 2025 UTC |
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