Skip to content

php教程学习-新编程xinbc.com

  • 首页
  • PHP 基础教程
  • PHP 数据库
  • PHP 表单
  • PHP 高级教程
  • PHP XML
  • PHP与AJAX
  • PHP参考手册
  • PHP 函数
    • PHP 5 String 函数
    • PHP Array 函数
    • PHP Calendar 函数
    • PHP Date / Time 函数
    • PHP Directory 函数
    • PHP Error 和 Logging 函数
    • PHP Filesystem 函数
    • PHP Filter 函数
    • PHP Ftp 函数
    • PHP HTTP 函数
    • PHP LibXML 函数
    • PHP Mail 函数
    • PHP MATH 函数
    • PHP MySQL 函数
    • PHP SimpleXML 函数
    • PHP XML Parser 函数
    • PHP Zip File 函数
    • PHP 杂项函数
Close Button

PHP getrandmax() 函数


PHP getrandmax() 函数

PHP Math 函数

实例

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

<?phpecho(getrandmax()); ?>

定义和用法

getrandmax() 函数返回可由 rand() 返回的最大可能值。

语法

getrandmax();

技术细节

返回值: 由 rand() 返回的最大可能值
返回类型: Integer
PHP 版本: 4+

PHP Math 函数

标签:getrandmax(), getrandmax()函数, PHP getrandmax(), PHP getrandmax() 函数

文章导航

Next: PHP 教程
  • PHP XML
  • PHP 基础教程
  • PHP 数据库
  • PHP 表单
  • PHP 高级教程
  • PHP与AJAX
  • PHP参考手册

本站由xinbc二次开发