摘要: function get_rand($proArr) { $result = ''; //概率数组的总概率精度 $proSum = array_sum($proArr); //概率数组循环 foreach ($proArr as $key => $proCur) { $randNum = mt... 阅读全文
posted @ 2016-12-08 19:20 FinnYY 阅读(783) 评论(0) 推荐(0) 编辑