字符串函数库

quotemeta

(PHP3 , PHP4)

quotemeta ---  将特殊字元加上反斜线

语法 : string quotemeta (string str)

说明 : 

将字符串 str中下列字元前面加上反斜线

. \\ + * ? [ ^ ] ( $ )

参考 : addslashes( )  htmlentities( )  htmlspecialchars( )  nl2br( )  stripslashes( )


上一页 首页 下一页