Home > PHP > Function > Enchant > enchant_broker_get_error()

enchant_broker_get_error()

enchant_broker_get_error - Returns the last error of the broker

Syntax

string enchant_broker_get_error (resource $broker)

Arguments

  • broker - Broker resource.

Description

Returns the last error which occurred in this broker.

Version

PHP PECL enchant >= 0.1.0

Return value

Return the msg string if an error was found or FALSE