update : 2015.11.03
php.shukuma.com검색:
|
Collator::comparecollator_compare(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) Collator::compare -- collator_compare — Compare two Unicode strings 설명객체 기반 형식
public
int
Collator::compare
( string
$str1
, string $str2
)절차식 형식 Compare two Unicode strings according to collation rules. 반환값Return comparison result:
FALSE
is returned.
예제
Example #1 collator_compare()example
<?php 위 예제의 출력: s1 is greater than s2 |