Searched refs:num_req (Results 1 – 9 of 9) sorted by relevance
/php-src/ext/standard/tests/array/ |
H A D | array_rand_variation5.phpt | 21 // with valid num_req values 24 echo"\n-- With num_req = 1 --\n"; 27 // with invalid num_req value 28 echo"\n-- With num_req = 0 --\n"; 35 echo"\n-- With num_req = -1 --\n"; 42 echo"\n-- With num_req = -2 --\n"; 60 -- With default num_req value -- 63 -- With num_req = 1 -- 66 -- With num_req = 0 -- 69 -- With num_req = -1 -- [all …]
|
H A D | array_rand_variation4.phpt | 71 With num_req = 1 74 With num_req = 2 87 With num_req = 1 90 With num_req = 2 103 With num_req = 1 106 With num_req = 2 119 With num_req = 1 122 With num_req = 2 135 With num_req = 1 138 With num_req = 2 [all …]
|
H A D | array_rand_variation6.phpt | 52 echo "\n-- with num_req = 1 --\n"; 55 echo "\n-- with num_req = 3 --\n"; 58 echo "\n-- with num_req = 6 --\n"; 70 -- with num_req = 1 -- 73 -- with num_req = 3 -- 83 -- with num_req = 6 --
|
H A D | array_rand_basic1.phpt | 12 // Initialise the 'input' and 'num_req' variables 14 $num_req = 6; 18 var_dump( array_rand($input,$num_req) );
|
H A D | array_rand_basic2.phpt | 12 // Initialise the 'input' and 'num_req' variables 19 $num_req = 6; 23 var_dump( array_rand($input,$num_req) );
|
H A D | array_rand_variation3.phpt | 37 // initialise 'num_req' variable 38 $num_req = 3; 41 var_dump( array_rand($input, $num_req) );
|
/php-src/ext/standard/ |
H A D | php_array.h | 35 PHPAPI bool php_array_pick_keys(php_random_algo_with_state engine, zval *input, zend_long num_req, …
|
H A D | array.c | 6196 PHPAPI bool php_array_pick_keys(php_random_algo_with_state engine, zval *input, zend_long num_req, … argument 6220 if (num_req == 1) { 6277 if (num_req <= 0 || num_req > num_avail) { 6285 array_init_size(retval, (uint32_t) num_req); 6286 if (num_req > (num_avail >> 1)) { 6288 num_req = num_avail - num_req; 6295 i = num_req; 6349 zend_long num_req = 1; local 6354 Z_PARAM_LONG(num_req) 6360 num_req,
|
/php-src/ext/random/ |
H A D | randomizer.c | 392 zend_long num_req; in PHP_METHOD() local 396 Z_PARAM_LONG(num_req) in PHP_METHOD() 402 num_req, in PHP_METHOD()
|
Completed in 31 milliseconds