History log of /PHP-8.1/ext/standard/mt_rand.c (Results 26 – 43 of 43)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1
# 2b071028 28-Nov-2017 Remi Collet

better fix for #75514


Revision tags: php-7.2.0, php-7.1.12, php-7.0.26
# e704e1e8 13-Nov-2017 Remi Collet

Fixed bug #75514 mt_rand returns value outside [$min,$max]+ on 32-bit


Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1
# fd073020 07-Sep-2017 Nikita Popov

Fixed bug #75170

This change may result in different mt_rand/rand sequences being
generated on 64-bit systems for a specific seed.

See also https://externals.io/message/100229.


Revision tags: php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# a23f08a3 31-Dec-2016 Sara Golemon

Use new param API in standard


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10
# 9a900431 10-Aug-2016 Leigh

Preserve BC for rand() AND mt_rand() where min > max


# 2ece5dec 08-Aug-2016 Leigh

Swap min/max if min > max


# 99e3bb14 08-Aug-2016 Leigh

Allow min > max for mt_rand(). Bug #72784


# 5bf39267 06-Aug-2016 Leigh

mt_rand 32/64-bit consistency


Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# f9ce8aa7 03-Aug-2016 Remi Collet

Minor revert of be3640150cb2f88d38a8d405b2bf708f04be39ef

On 32bits this may cause php to hangs forever.


Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38
# 027375d4 16-Jul-2016 Leigh

Fix legacy mode RAND_RANGE and 32/64-bit consistency


# 69e7d8dc 07-Jul-2016 Leigh

Make mode selection part of mt_srand()

The mode of operation is intrinsically linked to seeding, so this makes a lot of sense


Revision tags: php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1
# 1f5cfea0 05-Jul-2016 Leigh

Fix RAND_RANGE for mt_rand


# 7981a294 05-Jul-2016 Leigh

Fix mt_rand impl. Provide legacy impl. access.


# eba6e7ce 05-Jul-2016 Leigh

Split rand and mt_rand into separate files


12