Iteration through letter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux