Re: strcmp()?

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

 



On May 23, 2011, at 9:45 AM, tedd wrote:

> At 9:32 AM -0400 5/23/11, Joshua Kehn wrote:
>> 
>> All this confusion makes me glad that I'm using === for equality checks instead of strcmp.
>> 
>> -Josh
> 
> -Josh:
> 
> Yes, but what if you were sorting? I know you could use sort(), but there might be logic where a strcmp() would better solve the problem.
> 
> Cheers,
> 
> tedd
> -- 
> -------
> http://sperling.com/

Never encountered an issue using sort() as-is. 

Regards,

-Josh
____________________________________
Joshua Kehn | Josh.kehn@xxxxxxxxx
http://joshuakehn.com


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