Re: When is "z" != "z" ?
| From: | Barry | Date: | Tue, 06 Jun 2006 14:17:00 +0000 |
| Subject: | Re: When is "z" != "z" ? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237459@lists.php.net to get a copy of this message | ||
Martin Alterisio schrieb:
is it really worthy the functionality supplied with the string ++ operator as it is? I don't see its usefullness yet.guess you want to order something by "name" not by number which might be false in some cases (1,10,2,20,21 ... and so on). There it might be useful. Well i don think it is wrong behavior in that way. because having looping from a till z you wil get "aa" after z so that means aa is "higher" as z internally. but looping till "aa" dont brings out a-z like you get a-y when you loop till z (remember: for $i = a; $i <= z; $i++ gives the chars a-yz z right followed by "aa") Well if you implement something like that into a programming language it should at least have some kind of logic behavior. Don't you think? -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)