PHP funkce strcoll()
Dostupnost ve verzích: PHP 4.0.5
Locale based string comparison
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$str1 |
string |
není | The first string. |
$str2 |
string |
není | The second string. |
Návratové hodnoty
int
< 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.