3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 1000; $i++) { $a += $i; } echo $a;
based on am3S3
Output for 5.0.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: a in /in/UGhrh on line 6 499500
Output for hhvm-3.10.0 - 3.12.0
499500
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/UGhrh on line 6 499500