Collator::getStrength

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)
Get current collation strength
public int Collator::getStrength ( void )

Object oriented style

Procedural style

int collator_get_strength ( Collator $coll )
Parameters:
coll

Collator object.

Returns:

Returns current collation strength, or boolean FALSE on error.

Examples:
collator_get_strength() example
<?php
$coll     = collator_create( 'en_US' );
$strength = collator_get_strength( $coll );
?>

See also:

Collator -

collator_set_strength() -

collator_get_attribute() -

doc_php
2016-02-24 15:57:16
Comments
Leave a Comment

Please login to continue.