(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )
enchant_dict_check — Vérifie si un mot est correctement orthographié
dictionaryUn dictionnaire Enchant retourné par enchant_broker_request_dict() ou enchant_broker_request_pwl_dict().
wordLe mot à vérifier
Lève une ValueError si
dictionary n'est pas utilisable, par exemple s'il n'a
pas été initialisé ou s'il a déjà été libéré avec
enchant_broker_free_dict().
| Version | Description |
|---|---|
| 8.0.0 |
dictionary attend désormais une instance de EnchantDictionary ;
auparavant, une resource était attendue.
|