Login
7 branches 0 tags
Ben(Parabola/X220) Minor perf. improvement 2903200 2 years ago 996 Commits
nujel / benchmark / euler1 / php.php
<?php

$ret = 0;
for($i = 0; $i < 10000000; $i++){
	if((($i % 3) == 0) || (($i % 5) == 0)){
		$ret += $i;
	}
}
echo "The sum is: " . $ret;