<?php $count = 100000; $total = array(); for ($i=0; $i<$count; $i++) { $total[] = $i; } $total2=0; for ($i=0; $i<count; $i++) { $total2 += $total[$i]; } var_dump($total2);
You have javascript disabled. You will not be able to edit any code.