字串函式庫

quotemeta

(PHP3 , PHP4)

quotemeta ---  將特殊字元加上反斜線

語法 : string quotemeta (string str)

說明 : 

將字串 str中下列字元前面加上反斜線

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

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


上一頁 首頁 下一頁