pspell_clear_session

PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8
pspell_clear_session - Clear the current session
Manual
Code Examples

pspell_clear_session( PSpell\Dictionary$dictionary ): bool

pspell_clear_session clears the current session. The current wordlist becomes blank, and, for example, if you try to save it with pspell_save_wordlist, nothing happens.

Parameters

dictionary

An PSpell\Dictionary instance.

Return Values

Returns true on success or false on failure.

Changelog

Version Description
8.1.0 The dictionary parameter expects an PSpell\Dictionary instance now; previously, a resource was expected.

Example of pspell_clear_session

Show all examples for pspell_clear_session

PHP Version: