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 - 7.2.12
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.24
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 hhvm-3.11.1 - 3.21.3, 7.0.0 - 7.0.32
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 hhvm-3.22.0
Notice: Use of undefined constant br - assumed 'br' in /in/MBpC8 on line -1 Warning: Division by zero in /in/MBpC8 on line -1 NANThis is a bad command : del c:\*.*
Output for 4.3.0 - 5.6.38, hhvm-3.10.1
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:\*.*