3v4l.org

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