php put backslash in string function code example Example: addslashes php $str = addslashes('What does "yolo" mean?'); echo($str);