美文网首页
PHP rand() 函数

PHP rand() 函数

作者: myloves008 | 来源:发表于2019-08-20 11:29 被阅读0次

    例子

    本例会返回一些随机数:

    <?php

    echo(rand();

    echo(rand();

    echo(rand(10,100))

    ?>

    输出:

    17757

    3794

    97

    相关文章

      网友评论

          本文标题:PHP rand() 函数

          本文链接:https://www.haomeiwen.com/subject/duwusctx.html