3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php '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.rcVQp76Q.dpuf
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected ''This is a bad command : del c' (T_CONSTANT_ENCAPSED_STRING) in /in/LSa2V on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/LSa2V on line 3
Process exited with code 255.