SphinxClient
PHP 手册

SphinxClient::getLastError

(PECL sphinx >= 0.1.0)

SphinxClient::getLastErrorGet the last error message

说明

public string SphinxClient::getLastError ( void )

Returns string with the last error message. If there were no errors during the previous API call, empty string is returned. This method doesn't reset the error message, so you can safely call it several times.

参数

This function has no parameters.

参见


SphinxClient
PHP 手册