Gen. partnerAlgotech

PHP funkce strnatcasecmp()

Case insensitive string comparisons using a "natural order" algorithm

|
11. září 2019

Dostupnost ve verzích: PHP 4.0

Case insensitive string comparisons using a "natural order" algorithm

Parametry

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.

Další zdroje

Oficiální dokumentace funkce strnatcasecmp

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.