php-src/ext/random
Tim Düsterhus 8abea1b3c2
random: Convert php_random_(bytes|int)_(silent|throw) into inline functions (#10763)
Compared to macros, inline functions are more robust and easier to debug.

Also, use true/false at the same time instead of 1 and 0.
2023-03-04 03:33:22 +00:00
..
tests random: Use branchless implementation for mask generation in Randomizer::getBytesFromString() (#10522) 2023-02-08 09:36:12 +01:00
config.m4 random: Move the CSPRNG implementation into a separate C file (#10668) 2023-02-23 19:17:09 +01:00
config.w32 random: Move the CSPRNG implementation into a separate C file (#10668) 2023-02-23 19:17:09 +01:00
CREDITS
csprng.c random: Fix return type of php_random_(bytes|int) (#10687) 2023-02-24 15:10:44 +01:00
engine_combinedlcg.c Add ext/random Exception hierarchy (#9220) 2022-08-02 20:04:28 +02:00
engine_mt19937.c Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP (#9839) 2022-10-28 16:52:43 +02:00
engine_pcgoneseq128xslrr64.c random: Validate that the arrays do not contain extra elements when unserializing (#9458) 2022-09-05 17:33:36 +02:00
engine_secure.c Add ext/random Exception hierarchy (#9220) 2022-08-02 20:04:28 +02:00
engine_user.c Add ext/random Exception hierarchy (#9220) 2022-08-02 20:04:28 +02:00
engine_xoshiro256starstar.c random: Validate that the arrays do not contain extra elements when unserializing (#9458) 2022-09-05 17:33:36 +02:00
gammasection.c Revert GH-10220 2023-01-16 12:27:33 +01:00
php_random.h random: Convert php_random_(bytes|int)_(silent|throw) into inline functions (#10763) 2023-03-04 03:33:22 +00:00
random_arginfo.h Fix GH-10292 make the default value of the first parame of srand() and mt_srand() nullable (#10380) 2023-01-20 23:35:08 +01:00
random.c random: Move the CSPRNG implementation into a separate C file (#10668) 2023-02-23 19:17:09 +01:00
random.stub.php Fix GH-10292 make the default value of the first parame of srand() and mt_srand() nullable (#10380) 2023-01-20 23:35:08 +01:00
randomizer.c random: Use branchless implementation for mask generation in Randomizer::getBytesFromString() (#10522) 2023-02-08 09:36:12 +01:00