3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if($a == 1){ if($b == 1){ echo 'test'; } }
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: a in /in/BWOHX on line 2
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/BWOHX on line 2