显示文本框

quotemeta()

« printf | rad2deg »
<?php
$string 
quotemeta (
    
  // string $str
);
?>
结果
$string = '\\. \\\\ \\+ \\* \\? \\[ \\^ \\] \\( \\$ \\)'
示例
#1 quotemeta  ('. \ + * ? [ ^ ] ( $ )')
#2 quotemeta  ("abcd123")
另请参阅
addcslashes, addslashes, htmlentities, htmlspecialchars, nl2br, preg_quote, stripcslashes, stripslashes