(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )
enchant_broker_dict_exists — 辞書が存在するかどうかを調べる。空でないタグを使用する
辞書が存在するかどうかを調べます。空でないタグを使用します。
| バージョン | 説明 | 
|---|---|
| 8.0.0 | brokerは、EnchantBroker クラスのインスタンスを期待するようになりました。
  これより前のバージョンでは、resource が期待されていました。 | 
例1 enchant_broker_dict_exists() の例
<?php
$tag = 'en_US';
$r = enchant_broker_init();
if (enchant_broker_dict_exists($r,$tag)) {
    echo $tag . " の辞書が見つかりました。\n";
}
?>