Collator::compare
Collator::compare
collator_compare
(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)
Collator::compare -- collator_compare — Compare two Unicode strings
Description
Object oriented style
public int Collator::compare ( string $str1 , string $str2 )
Procedural style
int collator_compare ( Collator $coll , string $str1 , string $str2 )
Compare two Unicode strings according to collation rules.