|
|
PHP getrandmax() - Math Functions
|
Tutorials » Php »
|
Topic |
What is getrandmax Function?
|
|
Explanation |
|
The "getrandmax()" function returns the largest possible random number.
Syntax:
getrandmax()
In the above syntax "getrandmax" function returns the random value, usually no parameters are provided.
Example:
<?php
echo(getrandmax());
?>
Result:
32767
In the above example the highest possible random number "32767" is returned.
|
|
A Note |
Learn PHP programming language tutorial with simple and neat example. Hope you enjoy this free tutorial.
Do give us your valuable feedback and suggestions on this online tutorial. This is a Copyright Content.
|
|
|
|