Bug #15064 Updated: for loops do not work properly (is it a feature or a bug?)
| From: | yohgaki@php.net | Date: | Wed, 16 Jan 2002 08:05:04 +0000 |
| Subject: | Bug #15064 Updated: for loops do not work properly (is it a feature or a bug?) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77216@lists.php.net to get a copy of this message | ||
ID: 15064
Updated by: yohgaki
Reported By: nohn@php.net
Old Status: Open
Status: Bogus
Bug Type: Feature/Change Request
Operating System: Windows NT 4
PHP Version: 4.1.1
New Comment:
This is not bug.
Most language behave as PHP does.
Previous Comments:
------------------------------------------------------------------------
[2002-01-16 03:01:03] nohn@php.net
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 this bug report at http://bugs.php.net/?id=15064&edit=1