PHP getrandmax() 函数

PHP 教程 · 2019-01-26 22:28:16

实例

返回通过调用 rand() 函数显示的随机数的最大可能值:

<?php
echo(getrandmax());
?>

定义和用法

The getrandmax() 函数返回通过调用 rand() 函数显示的随机数的最大可能值。

语法

getrandmax();

技术细节

返回值: 通过调用 rand() 函数显示的随机数的最大可能值。
返回类型: Integer
PHP 版本: 4+

点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html

查看所有标签

Getting Started with C++ Audio Programming for Game Development

Getting Started with C++ Audio Programming for Game Development

David Gouveia

Written specifically to help C++ developers add audio to their games from scratch, this book gives a clear introduction to the concepts and practical application of audio programming using the FMOD li......一起来看看 《Getting Started with C++ Audio Programming for Game Development》 这本书的介绍吧!

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试