(PHP 8)
enchant_dict_is_added — Whether or not 'word' exists in this spelling-session
enchant_dict_is_added(EnchantDictionary $dictionary, string $word): bool
Tells whether or not a word already exists in the current session.
dictionaryAn Enchant dictionary returned by enchant_broker_request_dict() or enchant_broker_request_pwl_dict().
wordThe word to lookup
| Version | Description |
|---|---|
| 8.0.0 | dictionary expects an EnchantDictionary instance now; previoulsy, a resource was expected. |
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.enchant-dict-is-added.php