single code and double code ignore in php code example
Example 1: addslashes php
$str = addslashes('What does "yolo" mean?');
echo($str);
Example 2: php quotations within quotations
<?php
echo '<span onclick="$(this).addClass(\'selected\');"> </span>';
?>