diff options
| author | Joe Watkins <krakjoe@php.net> | 2018-03-27 22:09:52 +0200 |
|---|---|---|
| committer | Joe Watkins <krakjoe@php.net> | 2018-03-27 22:10:34 +0200 |
| commit | 9b89b09b24ffe29c2b6de24c3d9b21df4f2a9de0 (patch) | |
| tree | db1674d4e91552bd7b67924d9aed82f65a626b45 | |
| parent | 5ff9d229efb9a0b55a087447c4bd09cdbabe078d (diff) | |
| parent | fc6cbc3eaaa2204bace6eef1b95bd6fe7b146b67 (diff) | |
| download | php-git-9b89b09b24ffe29c2b6de24c3d9b21df4f2a9de0.tar.gz | |
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed #75996: Add the right urls to the header of mt_rand.
| -rw-r--r-- | NEWS | 1 | ||||
| -rw-r--r-- | ext/standard/mt_rand.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -189,6 +189,7 @@ PHP NEWS that getrandom() is missing). (sarciszewski) . Fixed bug #74719 (fopen() should accept NULL as context). (Alexander Holman) . Fixed bug #69948 (path/domain are not sanitized in setcookie). (cmb) + . Fixed bug #75996 (incorrect url in header for mt_rand). (tatarbj) - Testing: . Implemented request #62055 (Make run-tests.php support --CGI-- sections). diff --git a/ext/standard/mt_rand.c b/ext/standard/mt_rand.c index 488ba3637d..461373d76b 100644 --- a/ext/standard/mt_rand.c +++ b/ext/standard/mt_rand.c @@ -34,7 +34,7 @@ /* The following php_mt_...() functions are based on a C++ class MTRand by Richard J. Wagner. For more information see the web page at - http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html + http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/VERSIONS/C-LANG/MersenneTwister.h Mersenne Twister random number generator -- a C++ class MTRand Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus @@ -45,7 +45,7 @@ The period, 2^19937-1, and the order of equidistribution, 623 dimensions, are far greater. The generator is also fast; it avoids multiplication and division, and it benefits from caches and pipelines. For more information - see the inventors' web page at http://www.math.keio.ac.jp/~matumoto/emt.html + see the inventors' web page at http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html Reference M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally |
