array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.enchant-dict-add-to-session.php', 1 => 'enchant_dict_add_to_session', ), 'up' => array ( 0 => 'ref.enchant.php', 1 => 'Enchant Functions', ), 'prev' => array ( 0 => 'function.enchant-dict-add-to-personal.php', 1 => 'enchant_dict_add_to_personal', ), 'next' => array ( 0 => 'function.enchant-dict-add.php', 1 => 'enchant_dict_add', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/enchant/functions/enchant-dict-add-to-session.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )
enchant_dict_add_to_session — Add 'word' to this spell-checking session
Add a word to the given dictionary. It will be added only for the active spell-checking session.
dictionary
An Enchant dictionary returned by enchant_broker_request_dict() or enchant_broker_request_pwl_dict().
word
The word to add
No value is returned.
Version | Description |
---|---|
8.0.0 |
dictionary expects an EnchantDictionary instance now;
previoulsy, a resource was expected.
|