3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo FOOBAR;
Output for 7.2.0 - 7.3.0rc3
Warning: Use of undefined constant FOOBAR - assumed 'FOOBAR' (this will throw an Error in a future version of PHP) in /in/BGX5b on line 3 FOOBAR
Output for 5.6.38 - 7.1.23
Notice: Use of undefined constant FOOBAR - assumed 'FOOBAR' in /in/BGX5b on line 3 FOOBAR