php大神 发表于 2023-5-13 08:45

php随机函数

php随机函数
rand(1,10)
运行代码如下:
<?php
$a = rand(1,10);
echo $a;
?>

页: [1]
查看完整版本: php随机函数