IT学习者 -> 技术文档 -> PHP 完全中文手册

函数:QuoteMeta()


QuoteMeta

加入引用符号。

语法: string quotemeta(string str);

返回值: 字符串

函数种类: 资料处理

内容说明

本函数将字符串中含有 . \\ + * ? [ ^ ] ( $ ) 等字符的前面加入反斜线 "\" 符号。

参考

addslashes()  htmlentities()  htmlspecialchars()  nl2br()  stripslashes()  



[ 上一页  PHP中文手册  下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序