(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )
enchant_broker_dict_exists — Verifica si un diccionario existe
Verifica si un diccionario existe.
broker
An Enchant broker returned by enchant_broker_init().
tag
lenguaje, en un formato como us_US, ch_DE, etc.
Versión | Descripción |
---|---|
8.0.0 |
broker expects an EnchantBroker instance now;
previoulsy, a recurso was expected.
|
Ejemplo #1 Ejemplo con enchant_broker_dict_exists()
<?php
$tag = 'en_US';
$r = enchant_broker_init();
if (enchant_broker_dict_exists($r,$tag)) {
echo $tag . " dictionary found.\n";
}
?>