- 链接地址:https://blog.csdn.net/coco1118/article/details/101596055
- 链接标题:php实现一个发红包功能,100元发给8人-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8348
function red($total, $num){ $total *= 100; $tmp = []; $arr = []; for (; $num > 1; $num--) { $p = mt_rand(1, $total); while (in_array($p, $tmp) || $...
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除