enchant_dict_check

(PECL)

enchant_dict_check -- Check whether a word is correctly spelled or not.

Descrizione

bool enchant_dict_check ( resource dict, string word )

If the word is correctly spelled return TRUE, otherwise return FALSE

Elenco dei parametri

dict

Dictionary resource

word

The word to check

Valori restituiti

Returns TRUE if the word is spelled correctly, FALSE if not.