PHP: Hypertext Preprocessor (original) (raw)
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
Description
pspell_add_to_session() adds a word to the wordlist associated with the current session. It is very similar topspell_add_to_personal()
Return Values
Returns [true](reserved.constants.php#constant.true)
on success or [false](reserved.constants.php#constant.false)
on failure.
Changelog
Version | Description |
---|---|
8.1.0 | The dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected. |
Found A Problem?
17 years ago
This function does not accept hyphenated words, which is kind of annoying.