Go to the source code of this file.
|
PHPAPI double | php_combined_lcg (void) |
|
PHPAPI uint64_t | php_random_generate_fallback_seed (void) |
|
PHPAPI uint64_t | php_random_generate_fallback_seed_ex (php_random_fallback_seed_state *state) |
|
PHPAPI void | php_mt_srand (uint32_t seed) |
|
PHPAPI uint32_t | php_mt_rand (void) |
|
PHPAPI zend_long | php_mt_rand_range (zend_long min, zend_long max) |
|
PHPAPI zend_long | php_mt_rand_common (zend_long min, zend_long max) |
|
PHPAPI void * | php_random_status_alloc (const php_random_algo *algo, const bool persistent) |
|
PHPAPI void * | php_random_status_copy (const php_random_algo *algo, void *old_status, void *new_status) |
|
PHPAPI void | php_random_status_free (void *status, const bool persistent) |
|
PHPAPI php_random_engine * | php_random_engine_common_init (zend_class_entry *ce, zend_object_handlers *handlers, const php_random_algo *algo) |
|
PHPAPI void | php_random_engine_common_free_object (zend_object *object) |
|
PHPAPI zend_object * | php_random_engine_common_clone_object (zend_object *object) |
|
PHPAPI uint32_t | php_random_range32 (php_random_algo_with_state engine, uint32_t umax) |
|
PHPAPI uint64_t | php_random_range64 (php_random_algo_with_state engine, uint64_t umax) |
|
PHPAPI zend_long | php_random_range (php_random_algo_with_state engine, zend_long min, zend_long max) |
|
PHPAPI const php_random_algo * | php_random_default_algo (void) |
|
PHPAPI void * | php_random_default_status (void) |
|
PHPAPI zend_string * | php_random_bin2hex_le (const void *ptr, const size_t len) |
|
PHPAPI bool | php_random_hex2bin_le (zend_string *hexstr, void *dest) |
|
PHPAPI void | php_random_mt19937_seed32 (php_random_status_state_mt19937 *state, uint32_t seed) |
|
PHPAPI void | php_random_mt19937_seed_default (php_random_status_state_mt19937 *state) |
|
PHPAPI void | php_random_pcgoneseq128xslrr64_seed128 (php_random_status_state_pcgoneseq128xslrr64 *s, php_random_uint128_t seed) |
|
PHPAPI void | php_random_pcgoneseq128xslrr64_advance (php_random_status_state_pcgoneseq128xslrr64 *state, uint64_t advance) |
|
PHPAPI void | php_random_xoshiro256starstar_seed64 (php_random_status_state_xoshiro256starstar *state, uint64_t seed) |
|
PHPAPI void | php_random_xoshiro256starstar_seed256 (php_random_status_state_xoshiro256starstar *state, uint64_t s0, uint64_t s1, uint64_t s2, uint64_t s3) |
|
PHPAPI void | php_random_xoshiro256starstar_jump (php_random_status_state_xoshiro256starstar *state) |
|
PHPAPI void | php_random_xoshiro256starstar_jump_long (php_random_status_state_xoshiro256starstar *state) |
|
PHPAPI double | php_random_gammasection_closed_open (php_random_algo_with_state engine, double min, double max) |
|
PHPAPI double | php_random_gammasection_closed_closed (php_random_algo_with_state engine, double min, double max) |
|
PHPAPI double | php_random_gammasection_open_closed (php_random_algo_with_state engine, double min, double max) |
|
PHPAPI double | php_random_gammasection_open_open (php_random_algo_with_state engine, double min, double max) |
|
| PHP_MINIT_FUNCTION (random) |
|
| PHP_MSHUTDOWN_FUNCTION (random) |
|
| PHP_RINIT_FUNCTION (random) |
|
◆ PHP_MT_RAND_MAX
◆ PHP_RANDOM_RANGE_ATTEMPTS
#define PHP_RANDOM_RANGE_ATTEMPTS (50) |
◆ phpext_random_ptr
◆ RANDOM_G
Value:
#define ZEND_MODULE_GLOBALS_ACCESSOR(module_name, v)
◆ Z_RANDOM_ENGINE_P
◆ Z_RANDOM_RANDOMIZER_P
◆ php_random_algo
◆ php_random_algo_with_state
◆ php_random_engine
◆ php_random_fallback_seed_state
◆ php_random_randomizer
◆ php_random_result
◆ php_random_status_state_mt19937
◆ php_random_status_state_pcgoneseq128xslrr64
◆ php_random_status_state_user
◆ php_random_status_state_xoshiro256starstar
◆ php_random_mt19937_mode
Enumerator |
---|
MT_RAND_MT19937 | |
MT_RAND_PHP | |
Definition at line 52 of file php_random.h.
◆ php_combined_lcg()
◆ PHP_MINIT_FUNCTION()
PHP_MINIT_FUNCTION |
( |
random | | ) |
|
◆ PHP_MSHUTDOWN_FUNCTION()
PHP_MSHUTDOWN_FUNCTION |
( |
random | | ) |
|
◆ php_mt_rand()
◆ php_mt_rand_common()
◆ php_mt_rand_range()
◆ php_mt_srand()
◆ php_random_bin2hex_le()
◆ php_random_default_algo()
◆ php_random_default_status()
◆ php_random_engine_common_clone_object()
◆ php_random_engine_common_free_object()
◆ php_random_engine_common_init()
◆ php_random_gammasection_closed_closed()
◆ php_random_gammasection_closed_open()
◆ php_random_gammasection_open_closed()
◆ php_random_gammasection_open_open()
◆ php_random_generate_fallback_seed()
PHPAPI uint64_t php_random_generate_fallback_seed |
( |
void | | ) |
|
◆ php_random_generate_fallback_seed_ex()
◆ php_random_hex2bin_le()
◆ php_random_mt19937_seed32()
◆ php_random_mt19937_seed_default()
◆ php_random_pcgoneseq128xslrr64_advance()
◆ php_random_pcgoneseq128xslrr64_seed128()
◆ php_random_range()
◆ php_random_range32()
◆ php_random_range64()
◆ php_random_status_alloc()
◆ php_random_status_copy()
◆ php_random_status_free()
PHPAPI void php_random_status_free |
( |
void * | status, |
|
|
const bool | persistent ) |
◆ php_random_xoshiro256starstar_jump()
◆ php_random_xoshiro256starstar_jump_long()
◆ php_random_xoshiro256starstar_seed256()
◆ php_random_xoshiro256starstar_seed64()
◆ PHP_RINIT_FUNCTION()
PHP_RINIT_FUNCTION |
( |
random | | ) |
|
◆ combined_lcg
◆ combined_lcg_seeded
◆ fallback_seed_state
◆ mt19937
◆ mt19937_seeded
◆ php_random_algo_mt19937
◆ php_random_algo_pcgoneseq128xslrr64
◆ php_random_algo_secure
◆ php_random_algo_user
◆ php_random_algo_xoshiro256starstar
◆ random_ce_Random_BrokenRandomEngineError
◆ random_ce_Random_CryptoSafeEngine
◆ random_ce_Random_Engine
◆ random_ce_Random_Engine_Mt19937
◆ random_ce_Random_Engine_PcgOneseq128XslRr64
◆ random_ce_Random_Engine_Secure
◆ random_ce_Random_Engine_Xoshiro256StarStar
◆ random_ce_Random_IntervalBoundary
◆ random_ce_Random_RandomError
◆ random_ce_Random_RandomException
◆ random_ce_Random_Randomizer
◆ random_module_entry