weird behaviour with ("Z" <= "Z")

From: Date: Tue, 10 Jul 2001 15:44:53 +0000
Subject: weird behaviour with ("Z" <= "Z")
Groups: php.general 
Request: Send a blank email to php-general+get-57176@lists.php.net to get a copy of this message
"Z" <= "Z" is true right?? then why this weird thing happens when I have this code: for($letter="A"; $letter<="Z" ; $letter+) echo " $letter"; it should output " A B C D E ..... W X Y Z" right? but it outputs " A B C D E ... W X Y Z AA AB ... YW YX YY YZ". why? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http://www.tanamesa.com.br

« previous php.general (#57176) next »