Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<enchant_dict_removeenchant_dict_store_replacement>
^Enchant FunctionsLast updated: Mon, 26 Oct 2026

enchant_dict_remove_from_session

(PHP 8 >= 8.5.0)

enchant_dict_remove_from_session — Remove a word from the session dictionary

Description

function enchant_dict_remove_from_session(EnchantDictionary $dictionary, string $word): void

Removes a word that was previously added to the current spell-checking session via enchant_dict_add_to_session().

Parameters

dictionary

An Enchant dictionary returned by enchant_broker_request_dict() or enchant_broker_request_pwl_dict().

word

The word to remove from the session.

Return Values

No value is returned.

Errors/Exceptions

Throws a ValueError if dictionary is not usable, for example if it is uninitialized or was already released with enchant_broker_free_dict().

See Also


<enchant_dict_removeenchant_dict_store_replacement>
^Enchant FunctionsLast updated: Mon, 26 Oct 2026