• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • getrandmax()

    (PHP 4, PHP 5, PHP 7)

    显示随机数最大的可能值

    说明

    getrandmax(void): int

    返回调用rand()可能返回的最大值。

    返回值

    rand()返回随机数可能返回的最大值

    参见

    上篇:fmod()

    下篇:hexdec()