We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getrandmax
1 parent c532ece commit bf672f5Copy full SHA for bf672f5
reference/random/functions/rand.xml
@@ -27,8 +27,8 @@
27
&caution.cryptographically-insecure;
28
<note>
29
<simpara>
30
- On some platforms (such as Windows), <function>getrandmax</function>
31
- is only 32767. If you require a range larger than 32767, specifying
+ Prior to PHP 7.1.0, <function>getrandmax</function> was only 32767 on some
+ platforms (such as Windows). If you require a range larger than 32767, specifying
32
<parameter>min</parameter> and <parameter>max</parameter> will allow
33
you to create a range larger than this, or consider using
34
<function>mt_rand</function> instead.
0 commit comments