(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )
enchant_broker_dict_exists — Vérifie si un dictionnaire existe
Vérifie si un dictionnaire existe.
brokerUn courtier Enchant retourné par enchant_broker_init().
taglangage, dans un format comme us_US, ch_DE, etc.
   Retourne true si le langage existe, false sinon.
  
| Version | Description | 
|---|---|
| 8.0.0 | brokerattend désormais une instance de EnchantBroker ;
  auparavant, une ressource était attendu. | 
Exemple #1 Exemple avec enchant_broker_dict_exists()
<?php
$tag = 'en_US';
$r = enchant_broker_init();
if (enchant_broker_dict_exists($r,$tag)) {
    echo $tag . " dictionary found.\n";
}
?>