PHP学习案例9 双色球


//创建一个1-33的红色球号码区数组
$red_num = range(1 , 33);
//随机从红色球号码区数组获取6个键
$keys = array_rand($red_num,6);
//打乱

你可能感兴趣的:(php)