ALIAS

rnd()

ShortPHP reference for random_int().

Signature

random_int(int $min, int $max): int

Example

rnd(...);

PHP equivalent

random_int() is the canonical PHP function. ShortPHP provides rnd() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: randbytes()

Next: real()

Back to reference