PHP.nl

strcoll

strcoll

Locale based string comparison

int **strcoll** string $string1 string $string2

Note that this comparison is case sensitive, and unlike this function is not binary safe. strcmp

uses the current locale for doing the

comparisons. If the current locale is C or POSIX, this function is equivalent to . strcoll``strcmp

string1The first string.

string2The second string.

Returns < 0 if is less than ; > 0 if is greater than , and 0 if they are equal. string1``string2``string1``string2

preg_match``strcmp``strcasecmp``substr``stristr``strncasecmp``strncmp``strstr``setlocale