SphinxClient::escapeString

(PECL sphinx >= 0.1.0)

SphinxClient::escapeStringEscape special characters

说明

public string SphinxClient::escapeString ( string $string )

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

参数

string

String to escape.

返回值

Returns escaped string.