PHP » GoLang |
login |
register |
about
|
GoLang Collator::compare
request it (314)
GoLang replacement for PHP's Collator::compare
[edit | history]
Collator::comparecollator_compare(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Collator::compare -- collator_compare — Compare two Unicode strings DescriptionObject oriented style
public
int
Collator::compare
( string
$str1
, string $str2
)Procedural style Compare two Unicode strings according to collation rules. Parameters
Return ValuesReturn comparison result:
FALSE
is returned.
Warning
This function may
return Boolean Examples
Example #1 collator_compare()example
<?php The above example will output: s1 is greater than s2 |
more
Recently updated
more
Most requested
more
Last requests
|