<?php

$jieguo=suijishuzi(); //jiekou=suijishuzi子程序运行的结果

echo($jieguo);  //输出结果


function suijishuzi(){
    $shuzi = '0.' . rand(1,9);//0.拼接rand随机生成也就是0.1-0.9之间
    return $shuzi;  //返回参数名为shuzi
};

?>
Last modification:November 15th, 2020 at 01:07 pm
嘤嘤嘤,来打赏点吧ε٩(๑> ₃ <)۶ з