Re: Iteration through letter
| From: | Martin Alterisio | Date: | Fri, 15 Sep 2006 20:53:41 +0000 |
| Subject: | Re: Iteration through letter | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-241847@lists.php.net to get a copy of this message | ||
2006/9/14, Norbert Wenzel <mail@brain4art.at>:
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 http://marc.theaimsgroup.com/?t=114944281100002