1$str = addslashes('What does "yolo" mean?');
2echo($str);
3$str = addcslashes('What does "yolo" mean?','?');
4echo($str);
1$str = addslashes('What does "yolo" mean?'); // for either ' or "
2echo($str);
3$str = addcslashes('What does "yolo" mean?','?'); // specify charaters to preceed by \
4echo($str);