mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
getrandmax returns 2^15 - 1, not 2 ^ 15 on Windows (and maybe others).
Fix bug #55446 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315138 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
78b7784f6d
commit
5a4fe9cb9a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
<note>
|
||||
<simpara>
|
||||
On some platforms (such as Windows), <function>getrandmax</function>
|
||||
is only 32768. If you require a range larger than 32768, specifying
|
||||
is only 32767. If you require a range larger than 32767, specifying
|
||||
<parameter>min</parameter> and <parameter>max</parameter> will allow
|
||||
you to create a range larger than this, or consider using
|
||||
<function>mt_rand</function> instead.
|
||||
|
|
Loading…
Reference in a new issue