gwynne Fri Jun 15 01:07:15 2007 UTC
Modified files: /phpdoc/en/reference/math/functions mt-srand.xml Log: Document BC break in 5.2.1 (fixes bug #40724) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/mt-srand.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/math/functions/mt-srand.xml diff -u phpdoc/en/reference/math/functions/mt-srand.xml:1.11 phpdoc/en/reference/math/functions/mt-srand.xml:1.12 --- phpdoc/en/reference/math/functions/mt-srand.xml:1.11 Sat Mar 31 19:18:23 2007 +++ phpdoc/en/reference/math/functions/mt-srand.xml Fri Jun 15 01:07:15 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry id="function.mt-srand"> <refnamediv> <refname>mt_srand</refname> @@ -54,6 +54,16 @@ and defaults to a random value if omitted. </entry> </row> + <row> + <entry>Since 5.2.1</entry> + <entry> + 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. + </entry> + </row> </tbody> </tgroup> </informaltable>