php8.5
Home/ Manual/ enchant / functions/ enchant_dict_add_to_session

enchant_dict_add_to_session

PHP function Edit on GitHub ✎

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0)

Add 'word' to this spell-checking session

Description

enchant_dict_add_to_session(EnchantDictionary $dictionary, string $word): void

Add a word to the given dictionary. It will be added only for the active spell-checking session.

Parameters

word

The word to add

Return Values

Void

Errors/Exceptions Dict-valueerror

Changelog

VersionDescription

See Also

Source: reference/enchant/functions/enchant-dict-add-to-session.xml · from the official PHP manual (php/doc-en)