Login
7 branches 0 tags
Ben (Win10) Fixed a lot of little issues 9eeb105 3 years ago 764 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;