note 95384 deleted from function.strcmp by danbrown
| From: | danbrown@php.net | Date: | Thu, 31 Dec 2009 16:38:54 +0000 |
| Subject: | note 95384 deleted from function.strcmp by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164501@lists.php.net to get a copy of this message | ||
Note Submitter: sanjaysahu dot online at gmail dot com
Reason: 5
----
strcmp() is a binary safe comparison method.
Ex: int strcmp ( string $str1 , string $str2 )
The strcmp() function compares two strings as described above.
This function returns:
* 0 - if the two strings are equal
* <0 - if string1 is less than string2
* >0 - if string1 is greater than string2