php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #42925 typing error in mt_rand, online english documentation
Submitted: 2007-10-11 11:38 UTC Modified: 2007-10-11 11:41 UTC
From: janturon at email dot cz Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Linux/Ubuntu 7.04
Private report: No CVE-ID: None
 [2007-10-11 11:38 UTC] janturon at email dot cz
Description:
------------
in online english documentation to mt_rand() function in parameter 
list, there is "man" instead "max".

Reproduce code:
---------------
Parameters

min

    Optional lowest value to be returned (default: 0) 
man

    Optional highest value to be returned (default: RAND_MAX) 

Expected result:
----------------
correct typing error: "man"=>"max"

Actual result:
--------------
"man"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-11 11:41 UTC] rquadling@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of rquadling
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=fbb43f0278c708d3c45d50d6e99c3a378d3d69e1
Log: Fix #42925
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 21:00:01 2026 UTC