<!DOCTYPE html>
<html>
<body>
<?php
$str = "Welcome to Shanghai!";
echo $str."<br>";
echo addcslashes($str,'a')."<br>";
echo addcslashes($str,'S')."<br>";
?>
</body>
</html>