cvs: phpdoc /en/reference/math/functions mt-rand.xml

From: Date: Sat, 03 May 2008 16:48:29 +0000
Subject: cvs: phpdoc /en/reference/math/functions mt-rand.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1595@lists.php.net to get a copy of this message
bjori Sat May 3 16:48:29 2008 UTC Modified files: /phpdoc/en/reference/math/functions mt-rand.xml Log: Fixed bug#44904 (mt_rand does not accept a single parameter but documented like it does) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/mt-rand.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc/en/reference/math/functions/mt-rand.xml diff -u phpdoc/en/reference/math/functions/mt-rand.xml:1.15 phpdoc/en/reference/math/functions/mt-rand.xml:1.16 --- phpdoc/en/reference/math/functions/mt-rand.xml:1.15 Thu Oct 11 11:41:25 2007 +++ phpdoc/en/reference/math/functions/mt-rand.xml Sat May 3 16:48:28 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <refentry xml:id="function.mt-rand" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>mt_rand</refname> @@ -7,11 +7,15 @@ </refnamediv> <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>mt_rand</methodname> - <methodparam choice="opt"><type>int</type><parameter>min</parameter></methodparam> - <methodparam><type>int</type><parameter>max</parameter></methodparam> - </methodsynopsis> + <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><type>int</type><parameter>max</parameter></methodparam> + </methodsynopsis> <simpara> Many random number generators of older libcs have dubious or unknown characteristics and are slow. By default, PHP uses the

« previous php.doc.cvs (#1595) next »