enchant_broker_get_error()
(PHP 5 >= 5.3.0, PHP 7, PECL enchant >= 0.1.0)
Returns the last error of the broker
说明
enchant_broker_get_error(resource $broker): string
Returns the last error which occurred in this broker.
参数
- $broker
Broker resource.
返回值
Return the msg string if an error was found or FALSE