(PHP 5 >= 5.3.1, PHP 7, PHP 8, PECL enchant >= 1.0.1)
enchant_broker_set_dict_path — Set the directory path for a given backend
Ця функція ЗАСТАРІЛА, починаючи з PHP 8.0.0. Вкрай не рекомендується на неї покладатися.
$broker, int $type, string $path): boolSet the directory path for a given backend.
brokerБрокер Enchant, якого повертає enchant_broker_init().
typeENCHANT_MYSPELL
or ENCHANT_ISPELL.
path| Версія | Опис |
|---|---|
| 8.0.0 | This function has been deprecated. |
| 8.0.0 |
broker тепер має бути примірником класу
EnchantBroker; раніше очікувався resource.
|
Зауваження: This function is only available if the extension has been compiled with Enchant v1.