2024 年 PHP Conference Japan

enchant_dict_get_error

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )

enchant_dict_get_error傳回目前拼寫工作階段的最後一個錯誤

說明

enchant_dict_get_error(EnchantDictionary $dictionary): 字串|false

傳回目前拼寫工作階段的最後一個錯誤

參數

dictionary

enchant_broker_request_dict()enchant_broker_request_pwl_dict() 傳回的 Enchant 字典。

傳回值

傳回錯誤訊息字串,如果沒有發生錯誤則傳回 false

更新日誌

版本 說明
8.0.0 dictionary 參數現在需要一個 EnchantDictionary 實例;先前需要的是一個 資源
新增註解

使用者提供的註解

此頁面沒有使用者提供的註解。
To Top