PHP - 函数:QuoteMeta()

PHP - 函数:QuoteMeta(),第1张

PHP - 函数:QuoteMeta() 字符串处理函数库
Quotemeta

加入引用符号

语法: string quotemeta(string str);

返回值: 字符串

函数种类: 资料处理

内容说明

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

参考

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


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/3004667.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-09-27
下一篇 2022-09-27

发表评论

登录后才能评论

评论列表(0条)

保存