Get current collation strength

# Collator::getStrength

# collator_get_strength

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)

Collator::getStrength -- collator_get_strength — Get current collation strength

### Descrierea

Stil obiect-orientat

public Collator::getStrength ( void ) : int

Stil procedural

collator_get_strength ( Collator `$coll` ) : int

### Parametri

`coll`

  Collator object.

### Valorile întoarse

Returns current collation strength, or boolean `FALSE` on error.

### Exemple

Example #1 collator_get_strength() example

`<?php
$coll = collator_create( 'en_US' );
$strength = collator_get_strength( $coll );
?>`

### A se vedea și

- Collator constants
- collator_set_strength() - Set collation strength
- collator_get_attribute() - Get collation attribute value