random_int Generates cryptographically secure pseudo-random integers &reftitle.description; intrandom_int intmin intmax Generates cryptographic random integers that are suitable for use where unbiased results are critical, such as when shuffling a deck of cards for a poker game. &csprng.sources; &reftitle.parameters; min The lowest value to be returned down to PHP_INT_MIN. max The highest value to be returned up to PHP_INT_MAX. &reftitle.returnvalues; Returns a crypto-secure random integer. &reftitle.errors; Issues an E_WARNING and returns &false; when a sufficient source of randomness is unavailable. &reftitle.examples; <function>random_int</function> example ]]> &example.outputs.similar; &reftitle.seealso; random_bytes