CakeFest 2024: The Official CakePHP Conference

enchant_dict_check

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )

enchant_dict_checkVérifie si un mot est correctement orthographié

Description

enchant_dict_check(EnchantDictionary $dictionary, string $word): bool

Retourne true si le mot word est correctement orthographié, false sinon.

Liste de paramètres

dictionary

Un dictionnaire Enchant retourné par enchant_broker_request_dict() ou enchant_broker_request_pwl_dict().

word

Le mot à vérifier

Valeurs de retour

Retourne true si le mot est correctement orthographié, false sinon.

Historique

Version Description
8.0.0 dictionary attend désormais une instance de EnchantDictionary ; auparavant, une ressource était attendu.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top