Dostupnost ve verzích: PHP 4.0
String comparisons using a "natural order" algorithm
Parametr | Datový typ | Výchozí hodnota | Poznámka |
---|---|---|---|
$str1 |
string |
není | The first string. |
$str2 |
string |
není | The second string. |
int
Similar to other string comparison functions, this one returns < 0 if
str1 is less than str2; >
0 if str1 is greater than
str2, and 0 if they are equal.
Oficiální dokumentace funkce strnatcmp
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Články píše Jan Barášek © 2009-2025 | Kontakt | Mapa webu
Status | Aktualizováno: ... | cs