Bug #15064: for loops do not work properly (is it a feature or a bug?)

From: Date: Wed, 16 Jan 2002 08:01:03 +0000
Subject: Bug #15064: for loops do not work properly (is it a feature or a bug?)
Groups: php.dev 
Request: Send a blank email to php-dev+get-77214@lists.php.net to get a copy of this message
From: nohn@php.net Operating system: Windows NT 4 PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: for loops do not work properly (is it a feature or a bug?) for ($i=1; $i==20; $i++) { echo($i); } does not work, while for ($i=1; $i>=20; $i++) { echo($i); } works fine. of course, if the first statement would work it wourld be redundant, so my questions is: is it a feature or a bug? -- Edit bug report at: http://bugs.php.net/?id=15064&edit=1

« previous php.dev (#77214) next »