How to use mt getrandmax in PHP

This article describe about mt_getrandmax() Function in PHP.
  • 1383

mt_getrandmax() Function

This function returns the maximum possible value that can be returned by the mt_rand() function.

Syntax

mt_getrandmax()

 

Example

 

<html>
<?php
echo mt_getrandmax();
?>
</html>

 

Output


mtgetrandmaxphp.jpg

You may also want to read these related articles Click here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.