COLLATOR_GET_STRENGTH(3) 1 COLLATOR_GET_STRENGTH(3)
Collator::getStrength - Get current collation strength
Object oriented style
SYNOPSIS
public int Collator::getStrength (void )
DESCRIPTION
Procedural style
int collator_get_strength (Collator $coll)
PARAMETERS
o $coll
-Collator object.
RETURN VALUES
Returns current collation strength, or boolean FALSE on error.
EXAMPLES
Example #1
collator_get_strength(3) example
<?php
$coll = collator_create( 'en_US' );
$strength = collator_get_strength( $coll );
?>
SEE ALSO
Collator constants, collator_set_strength(3), collator_get_attribute(3).
PHP Documentation Group COLLATOR_GET_STRENGTH(3)