PHP 8.4.0 RC4 available for testing

Collator::getStrength

collator_get_strength

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

Collator::getStrength -- collator_get_strengthGet current collation strength

Descrizione

Stile orientato agli oggetti

public Collator::getStrength(): int

Stile procedurale

collator_get_strength(Collator $object): int

Elenco dei parametri

object

Collator object.

Valori restituiti

Returns current collation strength, o false in caso di fallimento.

Esempi

Example #1 collator_get_strength() example

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

Vedere anche:

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top