Collator::getStrength
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0)
Get current collation strength
Description
Oop
Collator::getStrength(): int
Procedural
collator_get_strength(Collator $object): int
Parameters
objectCollatorobject.
Return Values
Returns current collation strength,Falseforfailure.
Examples
collator_get_strength() example
php
<?php
$coll = collator_create( 'en_US' );
$strength = collator_get_strength( $coll );
?>