内存问题
内存 1 个 G 给他使用都不够,循环的代码都没执行完,这是为什么?
$data=[];
for ($i=0; $i < 10000*10000; $i++) {
$data[]=rand(0,10000000);
}
sort($data);
推荐文章: