stats_rand_gen_iuniform

(PECL stats >= 1.0.0)

stats_rand_gen_iuniformGera inteiros distribuídos uniformemente entre um número inferior (inclusive) e um superior (inclusive)

Descrição

stats_rand_gen_iuniform(int $low, int $high): int

Retorna um inteiro aleatório da distribuição uniforme discreta entre low (inclusive) e high (inclusive).

Parâmetros

low

O limite inferior

high

O limite superior

Valor Retornado

Um inteiro aleatório