Doc #44107 [Opn->Csd]: [JA] mt_srand() - ChangeLog Since 5.2.1

From: Date: Sun, 24 Oct 2010 02:56:22 +0000
Subject: Doc #44107 [Opn->Csd]: [JA] mt_srand() - ChangeLog Since 5.2.1
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5388@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=44107&edit=1 ID: 44107 Updated by: takagi@php.net Reported by: kentaro at ranvis dot com Summary: [JA] mt_srand() - ChangeLog Since 5.2.1 -Status: Open +Status: Closed Type: Documentation Problem Package: Translation problem PHP Version: Irrelevant -Assigned To: +Assigned To: takagi Block user comment: N New Comment: 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. http://news.php.net/php.doc.ja/2834 Previous Comments: ------------------------------------------------------------------------ [2010-10-24 04:55:44] takagi@php.net Automatic comment from SVN on behalf of takagi Revision: http://svn.php.net/viewvc/?view=revision&revision=304676 Log: fixed bug #44107. ------------------------------------------------------------------------ [2008-02-13 01:55:09] kentaro at ranvis dot com Description: ------------ 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: --------------- http://www.php.net/manual/ja/function.mt-srand.php 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 による新たなシード生成アルゴリズムを使用するようになりました。 これまでのバージョンのように、同じ値のシーケンスで同じシードが生成されることはなくなりました。 この振る舞いが今後変わることはないでしょうが、この振る舞いに頼ってしまってはいけません。 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=44107&edit=1

« previous php.doc.bugs (#5388) next »