PHP mt_getrandmax() - Math Functions

What is mt_getrandmax Function?

Explanation

The "mt_getrandmax" function returns the largest possible random value.

Syntax:


mt_getrandmax()

Example :


<?php
echo mt_getrandmax();
?>
Result :

2157463648

In the above example the function returns the largest possible random value.

PHP Topics


Ask Questions

Ask Question