diff --git a/reference/csprng/functions/random-bytes.xml b/reference/csprng/functions/random-bytes.xml
index 653c93d298..ba38aa4ff9 100644
--- a/reference/csprng/functions/random-bytes.xml
+++ b/reference/csprng/functions/random-bytes.xml
@@ -38,21 +38,23 @@
&reftitle.returnvalues;
- Returns a string containing the crypto-secure random bytes in binary format.
+ Returns a string containing the requested number of cryptographically
+ secure random bytes.
&reftitle.errors;
- Issues an E_WARNING and returns &false; when a sufficient source of randomness is unavailable.
+ If an appropriate source of randomness cannot be found or an invalid number
+ of bytes is given, an Error will be thrown.
&reftitle.examples;
- random-bytes example
+ random_bytes example
min
- The lowest value to be returned down to PHP_INT_MIN.
+ The lowest value to be returned, which must be
+ PHP_INT_MIN or higher.
@@ -37,7 +38,8 @@
max
- The highest value to be returned up to PHP_INT_MAX.
+ The highest value to be returned, which must be less than or equal to
+ PHP_INT_MAX.
@@ -47,14 +49,17 @@
&reftitle.returnvalues;
- Returns a crypto-secure random integer.
+ Returns a cryptographically secure random integer in the range
+ min to max, inclusive.
&reftitle.errors;
- Issues an E_WARNING and returns &false; when a sufficient source of randomness is unavailable.
+ If an appropriate source of randomness cannot be found, invalid parameters
+ are given, or max is less than
+ min, an Error will be thrown.