hholzgra Thu Mar 14 07:38:05 2002 EDT
Modified files:
/phpdoc/en/functions math.xml
Log:
rand() / mt_rand() prototype changes
Index: phpdoc/en/functions/math.xml
diff -u phpdoc/en/functions/math.xml:1.76 phpdoc/en/functions/math.xml:1.77
--- phpdoc/en/functions/math.xml:1.76 Thu Mar 14 02:10:37 2002
+++ phpdoc/en/functions/math.xml Thu Mar 14 07:38:05 2002
@@ -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 @@
<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 @@
<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>,