Display the text box

addcslashes()

« acosh | addslashes »
<?php
$string 
addcslashes (
    
// string $str
    
  // string $charlist
);
?>
Result
$string = '\\f\\o\\o\\[ \\]'
Examples
#1 addcslashes  ("foo[ ]",
 
"A..z")
#2 addcslashes  ("zoo['.']",
 
"z..A")
See also
addslashes, htmlspecialchars, quotemeta, stripcslashes, stripslashes