文字

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_dict_add_to_session() - add 'word' to this spell-checking session
上一篇: 下一篇: