3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 1; $i < 100; $i++) { $a += $i; } echo $a;
Output for 5.0.4 - 5.6.21, 7.0.0 - 7.1.0
Notice: Undefined variable: a in /in/C6345 on line 5 4950
Output for hhvm-3.10.0 - 3.12.0
4950
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/C6345 on line 5 4950