Searched refs:shuffle (Results 1 – 23 of 23) sorted by relevance
2 Test shuffle() function : basic functionality - array with default keys6 * Test behaviour of shuffle when an array with default keys9 * before and after shuffle() function is applied on it20 /* Testing shuffle() function with array of integers */27 echo "\n-- return value from shuffle() function --\n";28 var_dump( shuffle($array_arg_int) ); // prints the return value from shuffle() function33 /* Testing shuffle() function with array of strings */40 echo "\n-- return value from shuffle() function --\n";41 var_dump( shuffle($array_arg_strings) ); // prints the return value from shuffle() function73 -- return value from shuffle() function --[all …]
6 * Test behaviour of shuffle when an associative array is9 * before and after shuffle() function is applied on it12 echo "*** Testing shuffle() : with associative array ***\n";21 // printing the input array before the shuffle operation25 // applying shuffle() function on the input array26 echo "\n-- return value from shuffle() function --\n";27 var_dump( shuffle($array_arg) ); // prints the return value from shuffle() function35 *** Testing shuffle() : with associative array ***37 -- input array before shuffle() function is applied --59 -- return value from shuffle() function --[all …]
11 var_dump(shuffle($a));14 var_dump(shuffle($a));17 var_dump(shuffle($a));20 var_dump(shuffle($a));23 var_dump(shuffle($a));26 var_dump(shuffle($a));30 shuffle($arr1);34 shuffle($bigarray);38 shuffle($bigarray);
2 Test shuffle() function : usage variation - with MultiDimensional array6 * Test behaviour of shuffle() function when multi-dimensional array is10 echo "*** Testing shuffle() : with multi-dimensional array ***\n";24 // calling shuffle() function with multi-dimensional array25 var_dump( shuffle($array_arg) );30 // looping to test shuffle() with each sub-array in the multi-dimensional array31 echo "\n*** Testing shuffle() with arrays having different types of values ***\n";35 var_dump( shuffle($array_arg[$i]) );44 *** Testing shuffle() : with multi-dimensional array ***114 *** Testing shuffle() with arrays having different types of values ***
2 Test shuffle() function : usage variation - arrays with diff heredoc strings6 * Test behaviour of shuffle() when an array of heredoc strings is passed to10 echo "*** Testing shuffle() : with array containing heredoc strings ***\n";60 // test shuffle() with array containing heredoc strings as values62 var_dump( shuffle($heredoc_array) );66 // test shuffle() with array containing heredoc strings as its keys68 var_dump( shuffle($heredoc_asso_array) );75 \*\*\* Testing shuffle\(\) : with array containing heredoc strings \*\*\*
2 Test shuffle() function : usage variation - arrays with diff types of values6 * Test behaviour of shuffle() function when arrays having different10 echo "*** Testing shuffle() : arrays with diff types of values ***\n";46 // looping to test shuffle() with each sub-array in the $array_arg array47 echo "\n*** Testing shuffle() with arrays having different types of values ***\n";51 var_dump( shuffle($arr) );60 *** Testing shuffle() : arrays with diff types of values ***62 *** Testing shuffle() with arrays having different types of values ***
2 Test shuffle() function : usage variation - associative arrays with diff types of values6 * Test behaviour of shuffle() function when associative arrays10 echo "*** Testing shuffle() : associative arrays with diff types of values ***\n";49 // looping to test shuffle() with each sub-array in the $array_arg array50 echo "\n*** Testing shuffle() with arrays having different types of values ***\n";54 var_dump( shuffle($arr) );63 *** Testing shuffle() : associative arrays with diff types of values ***65 *** Testing shuffle() with arrays having different types of values ***
2 Bug #24897 (inconsistent behaviour or shuffle() & array_multisort())6 shuffle($a);
14 shuffle($array);22 shuffle($array);32 shuffle($array);
2 Testing randomization of shuffle() and str_shuffle().16 shuffle($p);22 stats('shuffle', $a);35 shuffle
6 shuffle($input);
21 shuffle($in);
164 $user_tests, $valgrind, $sum_results, $shuffle, $file_cache, $num_repeats,361 $shuffle = false;574 $shuffle = true;
108 shuffle($goodChars);136 shuffle($goodChars);152 shuffle($goodChars);
59 shuffle($goodChars);83 shuffle($goodChars);111 shuffle($goodChars);
273 shuffle($jisx0208);275 shuffle($jisx0213_1);277 shuffle($jisx0213_2);
160 shuffle($good);173 shuffle($good);
133 shuffle($good);
726 shuffle($good);747 shuffle($good);
992 function shuffle(array &$array): true {} function
2256 ZEND_FUNCTION(shuffle);2879 ZEND_FE(shuffle, arginfo_shuffle)
2972 PHP_FUNCTION(shuffle) argument
Completed in 58 milliseconds