php生成定长的随机数

    xiaoxiao2021-04-11  37

    $length=7; $min = pow(10 , ($length - 1)); $max = pow(10, $length) - 1; $result=rand($min, $max);
    转载请注明原文地址: https://ju.6miu.com/read-666638.html

    最新回复(0)