pspell_add_to_session
(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)
pspell_add_to_session — Add the word to the wordlist in the current session
說明
pspell_add_to_session() adds a word to the wordlist associated with the current session. It is very similar to pspell_add_to_personal()
參數
-
dictionary An PSpell\Dictionary instance.
-
word The added word.
返回值
成功時返回 true, 或者在失敗時返回 false。
更新日誌
| 版本 | 說明 |
|---|---|
| 8.1.0 | The dictionary parameter expects an PSpell\Dictionary instance now; previously, a 資源(resource) was expected. |