3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); ob_start(); var_dump("GOOD"); var_dump(BAD); ob_end_flush();
Output for 7.2.0 - 7.3.0rc4
string(4) "GOOD" Warning: Use of undefined constant BAD - assumed 'BAD' (this will throw an Error in a future version of PHP) in /in/IC9qi on line 6 string(3) "BAD"
Output for 4.3.0 - 7.1.20
string(4) "GOOD" Notice: Use of undefined constant BAD - assumed 'BAD' in /in/IC9qi on line 6 string(3) "BAD"