php-src/ext/random
Tim Düsterhus 3bc63a37a3
random: Remove RAND_RANGE_BADSCALING (#12374)
This macro is no longer used within php-src since
60ace13f9c, it invokes undefined behavior
depending on the input and the corresponding MT_RAND_PHP mode was deprecated in
PHP 8.3.

Thus remove this macro. Any remaining non-php-src user should just inline it
into their code, but should ideally migrate to a non-biased scaler. In any case
the undefined behavior of the original implementation should be accounted for.
2023-10-07 13:19:54 +01:00
..
tests random: Perform fewer iterations if SKIP_SLOW_TESTS is set (#12279) 2023-09-23 14:48:33 +02:00
config.m4
config.w32
CREDITS
csprng.c Remove includes 2023-04-04 22:48:26 +03:00
engine_combinedlcg.c
engine_mt19937.c Deprecate MT_RAND_PHP (#11560) 2023-07-07 12:16:48 +02:00
engine_pcgoneseq128xslrr64.c
engine_secure.c
engine_user.c
engine_xoshiro256starstar.c
gammasection.c
php_random.h random: Remove RAND_RANGE_BADSCALING (#12374) 2023-10-07 13:19:54 +01:00
random.c Deprecate MT_RAND_PHP (#11560) 2023-07-07 12:16:48 +02:00
random.stub.php Deprecate MT_RAND_PHP (#11560) 2023-07-07 12:16:48 +02:00
random_arginfo.h Deprecate MT_RAND_PHP (#11560) 2023-07-07 12:16:48 +02:00
randomizer.c