3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if(1=='1') {echo a;} else {echo b;}
Output for 7.2.0
Warning: Use of undefined constant a - assumed 'a' (this will throw an Error in a future version of PHP) in /in/Oc772 on line 3 a
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant a - assumed 'a' in /in/Oc772 on line 3 a