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

From: Date: Sun, 22 Oct 2000 01:14:53 +0000
Subject: PHP 4.0 Bug #7385 Updated: 'letter counting' bug when counting a-z
Groups: php.dev 
Request: Send a blank email to php-dev+get-35745@lists.php.net to get a copy of this message
ID: 7385 User Update by: delme@jumeaux.bc.ca Status: Open Bug Type: Scripting Engine problem Description: 'letter counting' bug when counting a-z Previous Comments: --------------------------------------------------------------------------- [2000-10-21 21:13:14] delme@jumeaux.bc.ca 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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7385

« previous php.dev (#35745) next »