« Collator::getSortKey
Collator::setAttribute »

Collator::getStrength

collator_get_strength

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

Collator::getStrength -- collator_get_strength — 現在の照合強度を取得する

説明

オブジェクト指向型

public function Collator::getStrength(): int

手続き型

function collator_get_strength(Collator $object): int

パラメータ

object

Collator オブジェクト。

戻り値

現在の照合強度を返します。 失敗した場合に false を返します

例

例1 collator_get_strength() の例

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

参考

関連キーワード:
Collator   collator   strength   照合   強度   getStrength   coll   getSortKey   setAttribute   intl   オブジェクト指向   手続き   create   参考   定数   attribute   属性
関連する関数・ページ:
collator.setattribute   collator.getattribute   collator.create   collator.setstrength   collator.construct   collator.geterrorcode