Searched refs:PHP_RAND_MAX (Results 1 – 5 of 5) sorted by relevance
39 #define PHP_RAND_MAX 2147483647 macro41 #define PHP_RAND_MAX RAND_MAX macro
301 RAND_RANGE(number, min, max, PHP_RAND_MAX); in PHP_FUNCTION()355 RETURN_LONG(PHP_RAND_MAX); in PHP_FUNCTION()
1763 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()
5410 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX);
317 return ((*ctx = *ctx * 1103515245 + 12345) % ((u_long)PHP_RAND_MAX + 1)); in do_rand()
Completed in 48 milliseconds