Iteration through letter

From: Date: Thu, 14 Sep 2006 17:26:29 +0000
Subject: Iteration through letter
Groups: php.general 
Request: Send a blank email to php-general+get-241790@lists.php.net to get a copy of this message
Hi, just for fun I tried the following code: <code> for($letter = 'A'; $letter <= 'Z'; ++$letter) { echo($letter . ' '); } </code> What surprised me was the output, which looked like this: A B C [...] Y Z AA AB AC [...] YY YZ I don't have any idea how these letters get printed out, so I'd appreciate any guesses or explanations. thanks, Norbert

« previous php.general (#241790) next »