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

enchant_broker_get_dict_path

PHP function Deprecated as of PHP 8.0.0 Edit on GitHub ✎

(PHP 5 >= 5.3.1, PHP 7, PHP 8, PECL enchant >= 1.0.1)

Get the directory path for a given backend

Function-8-0-0

Description

enchant_broker_get_dict_path(EnchantBroker $broker, int $type): string|false

Get the directory path for a given backend.

Parameters

type

The type of the dictionaries, i.e. ENCHANT_MYSPELL or ENCHANT_ISPELL.

Return Values

Returns the path of the dictionary directory on successFalseforfailure.

Changelog

VersionDescription
8.0.0This function has been deprecated.

Notes

Note

This function is only available if the extension has been compiled with Enchant v1.

See Also

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