enchant_dict_check

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

enchant_dict_checkCheck whether a word is correctly spelled or not

说锟斤拷

enchant_dict_check ( resource $dict , string $word ) : bool

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.