(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )
enchant_broker_dict_exists — 檢查字典是否存在。使用非空標籤
版本 | 說明 |
---|---|
8.0.0 |
現在 broker 參數預期是一個 EnchantBroker 實例;先前預期是一個 資源。 |
範例 #1 enchant_broker_dict_exists() 的範例
<?php
$tag = 'en_US';
$r = enchant_broker_init();
if (enchant_broker_dict_exists($r,$tag)) {
echo $tag . " 找到字典。\n";
}
?>