enchant_broker_free_dict
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0)
Free a dictionary resource
Function-8-0-0
Description
enchant_broker_free_dict(EnchantDictionary $dictionary): bool
Free a dictionary. As of PHP 8.0.0, it is recommended to unset the object instead of calling this function.
Parameters
Return Values
Success
Changelog
| Version | Description |
|---|---|
| 8.0.0 | This function has been deprecated in favor of unsetting the object. |
| 8.0.0 | dictionary expects a EnchantDictionary now; previously, a Resource was expected. |