|
randGenerate a random integer Description
int rand
( void
)
int rand
( int
$min
, int $max
)
If called without the optional
Parameters
Return Values
A pseudo random value between Changelog
Examples
Example #1 rand example
<?php The above example will output something similar to: 7771 22264 11 NotesCaution
This function does not generate cryptographically secure values, and should not be used for cryptographic purposes. If you need a cryptographically secure value, consider using openssl_random_pseudo_bytes instead. See Also
|