Bug #67754 [NEW]: "for" judge A-Z error.
| From: | yppah56 at yahoo dot com dot tw | Date: | Mon, 04 Aug 2014 07:36:26 +0000 |
| Subject: | Bug #67754 [NEW]: "for" judge A-Z error. | ||
| Groups: | php.standards | ||
| Request: | Send a blank email to standards-+get-296@lists.php.net to get a copy of this message | ||
From: yppah56 at yahoo dot com dot tw
Operating system: Linux(Ubuntu13.4)
PHP version: 5.4.31
Package: PHP Language Specification
Bug Type: Bug
Bug description:"for" judge A-Z error.
Description:
------------
0000
When for() judge 'Z', find error.
for ($char='A'; $char<='Z'; $char++) echo $char;
Echo not as expected.
Maybe counting error.
Test script:
---------------
// this program is OK
for ($char='A'; $char<='Y'; $char++) {
echo $char;
}
// this program is Error
for ($char='A'; $char<='Z'; $char++) {
echo $char;
}
--
Edit bug report at https://bugs.php.net/bug.php?id=67754&edit=1
--