CakeFest 2024: The Official CakePHP Conference

enchant_broker_get_error

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

enchant_broker_get_errorブローカーの直近のエラーを返す

説明

enchant_broker_get_error(EnchantBroker $broker): string|false

このブローカーで発生した直近のエラーを返します。

パラメータ

broker

enchant_broker_init() によって返される Enchant ブローカー。

戻り値

エラーが見つかった場合にメッセージ文字列、それ以外の場合に false を返します。

変更履歴

バージョン 説明
8.0.0 broker は、EnchantBroker クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、リソース が期待されていました。
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top