Search Results

  1. Set collation attribute

  2. Collator::setAttribute -- collator_set_attribute — Configure l'attribut de collation

  3. Simple usage example of `Collator::setAttribute ()`. Collator::setAttribute is a PHP function that allows you to set a specific collation attribute for a Collator object. Collation attributes determine how strings are sorted and compared based on linguistic rules. This function allows you to customize the behavior of the Collator object to suit your specific sorting needs.

  4. Description Object-oriented style publicCollator::setAttribute (int$attribute, int$value): bool Procedural style collator_set_attribute (Collator $object, int ...

  5. Return Values Returns true on success or false on failure.

  6. The Collator class Introduction (PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Provides string comparison capability with support for appropriate locale-sensitive sort orderings. Class synopsis

  7. See Also Collator constants collator_get_attribute () - Get collation attribute value collator_set_strength () - Set collation strength