Re: When is "z" != "z" ?
| From: | Adam Zey | Date: | Tue, 06 Jun 2006 17:14:59 +0000 |
| Subject: | Re: When is "z" != "z" ? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237469@lists.php.net to get a copy of this message | ||
tedd wrote:
for I can't get it to stop when it passes "z" -- which I think it should.But, people have posted code solutions for you to do exactly what you want. So have I. Here it is again: foreach (range('a', 'z') as $char) { echo $char; } I don't mean to sound harsh, but why are you still complaining about it? You've been shown to do exactly what you want, why is it still a problem? Heck, if you still really want to do < and > with strings, you can easily write your own functions to compare two strings using your own requirements. Regards, Adam Zey.