PHP Conference China 2020


(PECL sphinx >= 0.1.0)

SphinxClient::getLastWarningGet the last warning


public SphinxClient::getLastWarning ( void ) : string

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


This function has no parameters.

Return Values

Returns the last warning message or an empty string if there were no warnings.

add a note add a note

User Contributed Notes

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