Searched refs:PHP_RAND_MAX (Results 1 – 5 of 5) sorted by relevance
38 #define PHP_RAND_MAX 2147483647 macro40 #define PHP_RAND_MAX RAND_MAX macro
302 RAND_RANGE(number, min, max, PHP_RAND_MAX); in PHP_FUNCTION()356 RETURN_LONG(PHP_RAND_MAX); in PHP_FUNCTION()
1783 RAND_RANGE(rnd_idx, 0, n_left, PHP_RAND_MAX); in php_array_data_shuffle()3979 if ((double) (randval / (PHP_RAND_MAX + 1.0)) < (double) num_req / (double) num_avail) { in PHP_FUNCTION()
5039 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 33 milliseconds