3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print "Tomorrow I'll learn PHP global variables."/br; print "This is a bad command : del c:\\*.*";?>
based on qBq85
Output for 7.2.0
Warning: Use of undefined constant br - assumed 'br' (this will throw an Error in a future version of PHP) in /in/MBpC8 on line 2 Warning: A non-numeric value encountered in /in/MBpC8 on line 2 Warning: A non-numeric value encountered in /in/MBpC8 on line 2 Warning: Division by zero in /in/MBpC8 on line 2 NANThis is a bad command : del c:\*.*
Output for 7.1.0 - 7.1.10
Notice: Use of undefined constant br - assumed 'br' in /in/MBpC8 on line 2 Warning: A non-numeric value encountered in /in/MBpC8 on line 2 Warning: A non-numeric value encountered in /in/MBpC8 on line 2 Warning: Division by zero in /in/MBpC8 on line 2 NANThis is a bad command : del c:\*.*
Output for 7.0.0 - 7.0.20
Notice: Use of undefined constant br - assumed 'br' in /in/MBpC8 on line 2 Warning: Division by zero in /in/MBpC8 on line 2 NANThis is a bad command : del c:\*.*
Output for 4.3.0 - 5.6.28
Notice: Use of undefined constant br - assumed 'br' in /in/MBpC8 on line 2 Warning: Division by zero in /in/MBpC8 on line 2 This is a bad command : del c:\*.*