[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/math/functions/_rand.xml?=
From: Pieter_Hordijk <peehaa () php ! net>
Date: 2017-05-02 7:17:18
Message-ID: svn-peehaa-1493709438-342442-1931706887 () svn ! php ! net
[Download RAW message or body]
peehaa Tue, 02 May 2017 07:17:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=342442
Log:
in second note box, min and max parameters were misplaced
--
Provided by anonymous 82724 (molnarriso@gmail.com)
Changed paths:
U phpdoc/en/trunk/reference/math/functions/rand.xml
Modified: phpdoc/en/trunk/reference/math/functions/rand.xml
===================================================================
--- phpdoc/en/trunk/reference/math/functions/rand.xml 2017-04-30 08:36:09 UTC (rev 342441)
+++ phpdoc/en/trunk/reference/math/functions/rand.xml 2017-05-02 07:17:18 UTC (rev 342442)
@@ -37,7 +37,7 @@
<note><simpara>As of PHP 7.1.0, <function>rand</function> uses the same
random number generator as <function>mt_rand</function>. To preserve
backwards compatibility <function>rand</function> allows
- <parameter>min</parameter> to be smaller than <parameter>max</parameter>
+ <parameter>max</parameter> to be smaller than <parameter>min</parameter>
as opposed to returning &false; as <function>mt_rand</function>.</simpara>
</note>
</refsect1>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic