Check whether a word is correctly spelled or not


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

enchant_dict_checkCheck whether a word is correctly spelled or not

Описание

bool enchant_dict_check ( resource $dict , string $word )

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

Список параметров

dict

Dictionary resource

word

The word to check

Возвращаемые значения

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