Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/
H A Darray.c4005 int num_avail, key_type; in PHP_FUNCTION() local
4015 num_avail = zend_hash_num_elements(Z_ARRVAL_P(input)); in PHP_FUNCTION()
4018 if (num_req <= 0 || num_req > num_avail) { in PHP_FUNCTION()
4035 if ((double) (randval / (PHP_RAND_MAX + 1.0)) < (double) num_req / (double) num_avail) { in PHP_FUNCTION()
4053 num_avail--; in PHP_FUNCTION()

Completed in 15 milliseconds