Symfony\Component\Intl\Collator\Collator::compare
Not supported. Compare two Unicode strings
Signature
public function compare(string
$str1,
string
$str2 )
Parameters
$str1
— string- The first string to compare
$str2
— string- The second string to compare
Returns
- Boolean|int
- Return the comparison result or false on failure:
1 if $str1 is greater than $str2 0 if $str1 is equal than $str2 -1 if $str1 is less than $str2