« Predefined Constants
random_bytes »
PHP 5 Manual
CSPRNG
CSPRNG Functions
Edit
Report a Bug
CSPRNG Functions
Table of Contents
random_bytes
— Generates cryptographically secure pseudo-random bytes
random_int
— Generates cryptographically secure pseudo-random integers