|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #44107 [JA] mt_srand() - ChangeLog Since 5.2.1
Submitted: 2008-02-13 01:55 UTC Modified: 2010-10-24 04:56 UTC
From: kentaro at ranvis dot com Assigned: takagi (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2008-02-13 01:55 UTC] kentaro at ranvis dot com
The Japanese translation of mt_srand()'s "ChangeLog Since 5.2.1" is not correct.
It seems to have confused seeds and values.

Reproduce code:

The Mersenne Twister implementation in PHP now uses a new seeding algorithm by Richard Wagner.
Identical seeds no longer produce the same sequence of values they did in previous versions.
This behavior is not expected to change again, but it is considered unsafe to rely upon it nonetheless.

Expected result:
PHP の Mersenne Twister 実装は、Richard Wagner による新たなシード生成アルゴリズムを使用するようになりました。

Actual result:
PHP の Mersenne Twister 実装は、Richard Wagner による新たなシード生成アルゴリズムを使用するようになりました。


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-23 13:01 UTC]
-Type: Bug +Type: Documentation Problem
 [2010-10-24 04:55 UTC]
Automatic comment from SVN on behalf of takagi
Log: fixed bug #44107.
 [2010-10-24 04:56 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: takagi
 [2010-10-24 04:56 UTC]
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-12-30 11:59 UTC]
Automatic comment on behalf of takagi
Log: fixed bug #44107.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 18:03:37 2021 UTC