3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
'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:\\*.*"; ?>
based on Q9pnV
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
'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:\*.*