数组模拟队列$t1 = microtime(true); $arrq = array(); for ($i = 0; $i < 100000; $i++) { $data = "hello $i\n"; array_push($arrq, $data); if ($i % 100 == 99 and count($arrq) > 1...
数组模拟队列$t1 = microtime(true); $arrq = array(); for ($i = 0; $i < 100000; $i++) { $data = "hello $i\n"; array_push($arrq, $data); if ($i % 100 == 99 and count($arrq) > 1...