Re: When is "z" != "z" ?

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

 



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)

--
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