您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

enchant_dict_check

(PECL enchant:0.1-1.0.1)

enchant_dict_check — Check 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.