'Tomorrow I \'ll learn PHP global variables.''This is a bad command : del c:\\*.*' Expected Output : Tomorrow I 'll learn PHP global variables.This is a bad command : del c:\*.* - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.PQ7hW3ym.dpuf
<?php
echo "<i>Sample output:</i> <br>";
echo "'Toorrow I \\ 'll learn PHP global variables.'<br>";
echo "'This is a bad command: del c:\\*.*'";
echo "<iexpected output:</i> <br>";
echo "Tomorrow I'll learn PHP global variables.<br> ";
echo "This is a bad command: del c:\\*.*";
?>
'Tomorrow I \'ll learn PHP global variables.''This is a bad command : del c:\\*.*' Expected Output : Tomorrow I 'll learn PHP global variables.This is a bad command : del c:\*.* - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.PQ7hW3ym.dpuf
<i>Sample output:</i> <br>'Toorrow I \ 'll learn PHP global variables.'<br>'This is a bad command: del c:\*.*'<iexpected output:</i> <br>Tomorrow I'll learn PHP global variables.<br> This is a bad command: del c:\*.*