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

/PHP_TRUNK/ext/standard/
H A Darray.c4148 int num_avail; local
4156 num_avail = zend_hash_num_elements(Z_ARRVAL_P(input));
4159 if (num_req <= 0 || num_req > num_avail) {
4178 if ((double) (randval / (PHP_RAND_MAX + 1.0)) < (double) num_req / (double) num_avail) {
4196 num_avail--;

Completed in 9 milliseconds