mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
rand() / mt_rand() prototype changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@73259 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ab7a379c34
commit
cf13075d44
1 changed files with 3 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.76 $ -->
|
||||
<!-- $Revision: 1.77 $ -->
|
||||
<reference id="ref.math">
|
||||
<title>Mathematical Functions</title>
|
||||
<titleabbrev>Math</titleabbrev>
|
||||
|
@ -924,11 +924,7 @@ ue of number is close to zero
|
|||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>mt_rand</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>mt_rand</methodname>
|
||||
<methodparam><type>int</type><parameter>min</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>min</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>max</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
|
@ -1262,7 +1258,7 @@ echo pow(-1, 5.5); // error
|
|||
<methodsynopsis>
|
||||
<type>int</type><methodname>rand</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>min</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>max</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>max</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
If called without the optional <parameter>min</parameter>,
|
||||
|
|
Loading…
Reference in a new issue