3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = range(1, 2000); $res = 0; foreach ($a as $value) { $res += $value; } echo $res;
Output for 5.3.20 - 7.3.0beta1
2001000