display string with single quote in laravel code example Example: addslashes php $str = addslashes('What does "yolo" mean?'); echo($str);