<?php $a = range(1, 2000); $res = 0; foreach ($a as $value) { $res += $value; } echo $res;
You have javascript disabled. You will not be able to edit any code.