3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $j = 0; for ($i = 0; $i < 1000000; $i++) $j+=$i; var_dump($j);
Output for 4.3.0 - 7.1.0
int(499999500000)