SphinxClient::escapeString
SphinxClient::getLastWarning
SphinxClient
PHP Manual

# SphinxClient::getLastError

(PECL sphinx >= 0.1.0)

SphinxClient::getLastError — Get 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::getLastWarning

SphinxClient::escapeString
SphinxClient::getLastWarning
SphinxClient
PHP Manual