PHP 8.1.31 Released!

Random Funciones

Tabla de contenidos

  • getrandmax — Show largest possible random value
  • lcg_value — Combined linear congruential generator
  • mt_getrandmax — Show largest possible random value
  • mt_rand — Generate a random value via the Mersenne Twister Random Number Generator
  • mt_srand — Seeds the Mersenne Twister Random Number Generator
  • rand — Generate a random integer
  • random_bytes — Get cryptographically secure random bytes
  • random_int — Get a cryptographically secure, uniformly selected integer
  • srand — Seed the random number generator
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top