<?php $done = 0; $count = 0; while (!$done) { for ($idx = 0; $idx < 10000; $idx++) { $x = 45 * 67 / 2 + $idx - 239892382.23232323; $y = 3483434.33483 / 28328372 * 384 + $idx - $x; } $count++; if ($now - $start_time >= 1.0) { $done = 1; } } echo 'CPU Benchmark: ' . $count . "\n"; ?>