SphinxClient::escapeString

(PECL sphinx >= 0.1.0)

SphinxClient::escapeStringEscape 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.

相关文章
php cubrid mysql 兼容性函数 escape special characters in a string for use in an sql statementphp ibm db2 函数 used to escape certain charactersphp ingres 函数 escape special characters for use in a queryphp ldap 函数 translate t61 characters to 8859 charactersphp maxdb 函数 escapes special characters in a string for use in an sql statement taking into account the current charset of the connectionphp ncurses 函数 draws a horizontal line in a window at current position using an attributed character and max. n characters longphp postgresql 函数 escape a identifier for insertion into a text fieldphp postgresql 函数 escape a literal for insertion into a text fieldphp harufont get the total width of the text number of characters number of words and number of spacesphp harupage calculate the byte length of characters which can be included on one line of the specified widthphp mysqlnduhconnection escapes special characters in a string for use in an sql statement taking into account the current charset of the connectionphp solrquery returns the number of characters of fragments to consider for highlightingphp solrquery returns the maximum number of characters of the field to returnphp sphinxclient extract keywords from queryphp sphinxclient 关闭先前打开的持久连接php sphinxclient create a new sphinxclient objectphp sphinxclient escape special charactersphp sphinxclient add new integer range filterphp sphinxclient set anchor point for a geosphere distance calculationsphp sphinxclient update document attributes
关注编程学问公众号