Bug #3727 Updated: <= test change on a string used as a loop index changes its size

From: Date: Sun, 05 Mar 2000 16:40:52 +0000
Subject: Bug #3727 Updated: <= test change on a string used as a loop index changes its size
Groups: php.dev 
Request: Send a blank email to php-dev+get-16410@lists.php.net to get a copy of this message
ID: 3727 Updated by: sas Reported By: tesio@easynet.fr Status: Closed Bug Type: Misbehaving function Assigned To: Comments: The result is correct. You change the condition of the for loop, thus PHP will run until the string $a becomes larger than "Z". In PHP, "Z" + 1 is "AA", that is why you see two letter combinations. Full Bug description available at: http://bugs.php.net/?id=3727

« previous php.dev (#16410) next »