(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)
Examples:
FRENCH_COLLATION rules
  • F=OFF cote < coté < côte < côté
  • F=ON cote < côte < coté < côté
ALTERNATE_HANDLING rules
  • S=3, A=N di Silva < Di Silva < diSilva < U.S.A. < USA
  • S=3, A=S di Silva = diSilva < Di Silva < U.S.A. = USA
  • S=4, A=S di Silva < diSilva < Di Silva < U.S.A. < USA
CASE_FIRST rules
  • C=X or C=L "china" < "China" < "denmark" < "Denmark"
  • C=U "China" < "china" < "Denmark" < "denmark"
CASE_LEVEL rules
  • S=1, E=X role = Role = rôle
  • S=1, E=O role = rôle < Role
Collator::getErrorCode

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get collator's last error code

2016-02-24 15:57:16
Collator::getErrorMessage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get text for collator's last error code

2016-02-24 15:57:16
Collator::getLocale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get the locale name of the collator

2016-02-24 15:57:16
Collator::__construct

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Create a collator

2016-02-24 15:57:15
Collator::sort

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Sort array using specified collator

2016-02-24 15:57:17
Collator::asort

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Sort array maintaining index association

2016-02-24 15:57:14
Collator::getStrength

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get current collation strength

2016-02-24 15:57:16
Collator::create

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Create a collator

2016-02-24 15:57:15
Collator::setStrength

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Set collation strength

2016-02-24 15:57:17
Collator::getAttribute

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Get collation attribute value

2016-02-24 15:57:16