PHP 4.0 Bug #7385: 'letter counting' bug when counting a-z

From: Date: Sun, 22 Oct 2000 01:13:14 +0000
Subject: PHP 4.0 Bug #7385: 'letter counting' bug when counting a-z
Groups: php.dev 
Request: Send a blank email to php-dev+get-35744@lists.php.net to get a copy of this message
From: delme@jumeaux.bc.ca Operating system: Linux 2.2 and win32 PHP version: 4.0.3pl1 PHP Bug Type: Scripting Engine problem Bug description: 'letter counting' bug when counting a-z for ($i = 'A'; $i <= 'Z'; $i++) { print $i. '<br>'; } the above code *should* produce 26 letters, but instead it counts all the way from A to YZ. A to ZZ counts from A to ZYZ, and so on. -- Edit Bug report at: http://bugs.php.net/?id=7385&edit=1

« previous php.dev (#35744) next »