Skip to content

Commit fc6cbc3

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fixed #75996: Add the right urls to the header of mt_rand.
2 parents 3e267ca + ac4d9fd commit fc6cbc3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

NEWS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ PHP NEWS
2525
. Fixed bug #76131 (mismatch arginfo for splarray constructor).
2626
(carusogabriel)
2727

28-
- Standard:
28+
- standard:
2929
. Fixed bug #74139 (mail.add_x_header default inconsistent with docs). (cmb)
30+
. Fixed bug #75996 (incorrect url in header for mt_rand). (tatarbj)
3031

3132
29 Mar 2018, PHP 7.2.4
3233

ext/standard/mt_rand.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/*
3535
The following php_mt_...() functions are based on a C++ class MTRand by
3636
Richard J. Wagner. For more information see the web page at
37-
http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html
37+
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/VERSIONS/C-LANG/MersenneTwister.h
3838
3939
Mersenne Twister random number generator -- a C++ class MTRand
4040
Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
@@ -45,7 +45,7 @@
4545
The period, 2^19937-1, and the order of equidistribution, 623 dimensions,
4646
are far greater. The generator is also fast; it avoids multiplication and
4747
division, and it benefits from caches and pipelines. For more information
48-
see the inventors' web page at http://www.math.keio.ac.jp/~matumoto/emt.html
48+
see the inventors' web page at http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
4949
5050
Reference
5151
M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally

0 commit comments

Comments
 (0)