W3cubDocs

/PHP

SphinxClient::escapeString

(PECL sphinx >= 0.1.0)

SphinxClient::escapeStringEscape special characters

Description

public SphinxClient::escapeString ( string $string ) : string

Escapes characters that are treated as special operators by the query language parser.

Parameters

string

String to escape.

Return Values

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