在 PHP 中使用随机数的三个步骤 //第一步:初始化种子 $seedarray =microtime();$seedstr =split(" ",$seedarray,5);//第二步:使用种子初始化随机数发生器 srand($seed); 编程10000问 2019-03-27 00:23:45