enchant
PHP Manual

enchant_dict_is_in_session

(PECL enchant:0.1-1.0.1)

enchant_dict_is_in_session — whether or not 'word' exists in this spelling-session

说明

bool enchant_dict_is_in_session ( resource $dict , string $word )

Tells whether or not a word already exists in the current session.

参数

dict

Dictionary resource

word

The word to lookup

返回值

Returns TRUE if the word exists or FALSE

参见


enchant
PHP Manual