在线文档教程
PHP

SphinxClient::escapeString

SphinxClient::escapeString

(PECL sphinx >= 0.1.0)

SphinxClient::escapeString — Escape special characters

Description

public string SphinxClient::escapeString ( 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.

← SphinxClient::__construct

SphinxClient::getLastError →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/sphinxclient.escapestring.php