Display the drop-down list

collator_set_strength()

« collator_set_attribute | collator_sort »
<?php
$collator 
Collator::create(
    
 // string $locale
);

$bool $collator->setStrength (
    
?  // int $strength
);

// shows the strength value and name
$value $collator->getStrength();
$name pbx_get_class_constant_name($value"Collator"true);
?>
Result
$collator = 'Collator instance'
$bool = true
$value = 0
$name = 'Collator::FRENCH_COLLATION,Collator::PRIMARY,Collator::SORT_REGULAR'
Examples
#1 collator_set_strength  (/* $locale = "en_US" */
 
Collator::PRIMARY)
See also
Collator::getStrength, collator_get_strength, collator_set_strength, pbx_get_class_constant_name