The PHP mt_getrandmax() function returns the largest possible value that can be returned by mt_rand().

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

Syntax

				
					mt_getrandmax()