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

enchant_broker_free_dict

PHP function Deprecated as of PHP 8.0.0 Edit on GitHub ✎

(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

Errors/Exceptions Dict-valueerror

Changelog

VersionDescription
8.0.0This function has been deprecated in favor of unsetting the object.
8.0.0dictionary expects a EnchantDictionary now; previously, a Resource was expected.

See Also

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