|
Posted by Schraalhans Keukenmeester on 05/31/07 13:12
At Thu, 31 May 2007 12:08:11 +0100, Toby A Inkster let h(is|er) monkeys
type:
> Schraalhans Keukenmeester wrote:
>
>> "strcmp('apples','oranges') is -1"
>
> Technically, PHP doesn't guarantee this -- just that the return value will
> be less than 0. It could be -42.
You are completely right Toby. Which makes me wonder why there's such a
loose definition of the retval, and what is actually stored in it inside
the func.
Sig fixed anyways.
;-)
--
Schraalhans Keukenmeester - schraalhans@the.spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]
"strcmp('apples','oranges') < 0"
Navigation:
[Reply to this message]
|