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

enchant_broker_free

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 the broker resource and its dictionaries

Function-8-0-0

Description

enchant_broker_free(EnchantBroker $broker): bool

Free a broker with all its dictionaries. As of PHP 8.0.0, it is recommended to unset the object instead of calling this function.

Parameters

Return Values

Success

Errors/Exceptions Broker-valueerror

Throws an Error if broker still has open dictionaries.

Changelog

VersionDescription
8.0.0This function has been deprecated in favor of unsetting the object.

See Also

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