Enchant 函数
PHP Manual

enchant_dict_is_in_session

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

enchant_dict_is_in_sessionwhether 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
Free Web Hosting