Home
last modified time | relevance | path

Searched refs:PHP_RAND_MAX (Results 1 – 5 of 5) sorted by relevance

/PHP-5.6/ext/standard/
H A Dphp_rand.h39 #define PHP_RAND_MAX 2147483647 macro
41 #define PHP_RAND_MAX RAND_MAX macro
H A Drand.c301 RAND_RANGE(number, min, max, PHP_RAND_MAX); in PHP_FUNCTION()
355 RETURN_LONG(PHP_RAND_MAX); in PHP_FUNCTION()
H A Darray.c1763 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX); in php_array_data_shuffle()
3896 if ((double) (randval / (PHP_RAND_MAX + 1.0)) < (double) num_req / (double) num_avail) { in PHP_FUNCTION()
H A Dstring.c5410 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
/PHP-5.6/main/
H A Dreentrancy.c317 return ((*ctx = *ctx * 1103515245 + 12345) % ((u_long)PHP_RAND_MAX + 1)); in do_rand()

Completed in 58 milliseconds