3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $hi = 'hi'; echo $hi."\n"; echo $HI."\n"; function poo(){ echo 'blah'; } poo(); POO();
Output for 5.0.4 - 7.1.0
hi Notice: Undefined variable: HI in /in/IVa8W on line 6 blahblah
Output for 4.3.0 - 5.0.3
hi Notice: Undefined variable: HI in /in/IVa8W on line 6 blahblah