| 
 | Collator::comparecollator_compareCompare two Unicode strings DescriptionObject 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. Parameters
 
 Return ValuesReturn comparison result: 
 
 FALSEis returned.Warning This function may
return Boolean  Examples
 Example #1 collator_compareexample 
<?phpThe above example will output: s1 is greater than s2 See Also
 
 |