|
Collator::comparecollator_compareCompare two Unicode strings BeschreibungObjektorientierter Stil
public
int
Collator::compare
( string
$str1
, string $str2
)Prozeduraler Stil
int
collator_compare
( Collator
$coll
, string $str1
, string $str2
)Compare two Unicode strings according to collation rules. Parameter-Liste
RückgabewerteReturn comparison result:
FALSE
is returned.
Warnung
Diese Funktion kann sowohl das
boolsche Beispiele
Beispiel #1 collator_compareexample
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: s1 is greater than s2 Siehe auch
|