Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions random/random.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function getrandmax(): int {}
* @param int $length The length of the random string that should be returned in bytes.
* @return string Returns a string containing the requested number of cryptographically secure random bytes.
* @since 7.0
* @throws Exception if an appropriate source of randomness cannot be found.
* @throws Random\RandomException if an appropriate source of randomness cannot be found.
*/
function random_bytes(int $length): string {}

Expand All @@ -103,7 +103,7 @@ function random_bytes(int $length): string {}
* @param int $max The highest value to be returned, which must be less than or equal to PHP_INT_MAX.
* @return int Returns a cryptographically secure random integer in the range min to max, inclusive.
* @since 7.0
* @throws Exception if an appropriate source of randomness cannot be found.
* @throws Random\RandomException if an appropriate source of randomness cannot be found.
*/
function random_int(int $min, int $max): int {}
}
Expand Down