$start = microtime(true); $num = 1000; $step = 10000; $count = $step * $num; for ($i = 0; $i < $num; $i++) { $items = []; for ($j = 0; $j < ...