Function

random_int

Synopsis

random_int(int, int): int

Area
Runtime\PS\Crypto\Random\random_intareas

Description

random_int returns a cryptographically secure, uniformly selected integer between $min and $max inclusive, throwing when $min is greater than $max.

Usage

$value = random_int($arguments);
$fn = random_int(...);

See also