字符串函数库 quotemeta (PHP3 , PHP4) quotemeta --- 将特殊字元加上反斜线 语法 : string quotemeta (string str) 说明 : 将字符串 str中的下列字元前面加上反斜线。 . \\ + * ? [ ^ ] ( $ ) 参考 : addslashes( ) htmlentities( ) htmlspecialchars( ) nl2br( ) stripslashes( ) 上一页 首页 下一页
字符串函数库
quotemeta
(PHP3 , PHP4)
quotemeta --- 将特殊字元加上反斜线
语法 : string quotemeta (string str)
string quotemeta (string str)
string quotemeta
说明 :
将字符串 str中的下列字元前面加上反斜线。 . \\ + * ? [ ^ ] ( $ )
将字符串 str中的下列字元前面加上反斜线。
. \\ + * ? [ ^ ] ( $ )
参考 : addslashes( ) htmlentities( ) htmlspecialchars( ) nl2br( ) stripslashes( )