<?php for ($i = 0, $sum = 0; $i < 50; $i++) { $sum += $i; } echo $sum; echo array_sum(range(1, 50));
You have javascript disabled. You will not be able to edit any code.