(PECL sphinx >= 0.1.0)
SphinxClient::escapeString — Escape special characters
public SphinxClient::escapeString ( string $string ) : string
Escapes characters that are treated as special operators by the query language parser.
string
String to escape.
Returns escaped string.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/sphinxclient.escapestring.php