Re: strcmp()?
| From: | tedd | Date: | Mon, 23 May 2011 13:45:40 +0000 |
| Subject: | Re: strcmp()? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313104@lists.php.net to get a copy of this message | ||
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/