[PHP-BUG] Bug #67754 [NEW]: "for" judge A-Z error.
[email protected] ("yppah56 at yahoo dot com dot tw")
| Newsgroups | php.standards |
|---|---|
| Message-ID | <[email protected]> |
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
--