Collator::compare()

bool|int compare(string $str1, string $str2)

Not supported. Compare two Unicode strings.

Parameters

string $str1 The first string to compare
string $str2 The second string to compare

Return Value

bool|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

Exceptions

MethodNotImplementedException

See also

http://www.php.net/manual/en/collator.compare.php
doc_Symfony
2016-10-28 06:09:23
Comments
Leave a Comment

Please login to continue.