[PHP-DEV] PHP 4.0 Bug #6599: strange behaviour in for loops with strings++ From: adobernig <email protected>
Date: 09/07/00

From: adobernig <email protected>
Operating system: LINUX RH 6.1
PHP version: 4.0.2
PHP Bug Type: Strings related
Bug description: strange behaviour in for loops with strings++

for ($char="A";$char<="Z";$char++)
{
echo "$char - ";
}

the last char displayed by this script
is not "Z" but "YZ"
with ever other letter it works as it should

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>