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

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

Syntax

				
					getrandmax()