PHP getrandmax() 函数
PHP 教程
· 2019-01-26 22:28:16
实例
返回通过调用 rand() 函数显示的随机数的最大可能值:
<?php
echo(getrandmax());
?>
echo(getrandmax());
?>
定义和用法
The getrandmax() 函数返回通过调用 rand() 函数显示的随机数的最大可能值。
语法
getrandmax();
技术细节
| 返回值: | 通过调用 rand() 函数显示的随机数的最大可能值。 |
|---|---|
| 返回类型: | Integer |
| PHP 版本: | 4+ |
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Speed Up Your Site
Andrew B. King / New Riders Press / 2003-01-14 / USD 39.99
There's a time bomb on the web: user patience. It starts ticking each time someone opens one of your pages. You only have a few seconds to get compelling content onto the screen. Fail, and you can kis......一起来看看 《Speed Up Your Site》 这本书的介绍吧!