PHPmathrand

Generate a random integer.

Syntax

rand(int $min = 0, int $max = PHP_INT_MAX): int