Lines Matching refs:shuffle
2 Test shuffle() function : usage variation - with MultiDimensional array
5 /* Prototype : bool shuffle(array $array_arg)
6 * Description: Randomly shuffle the contents of an array
11 * Test behaviour of shuffle() function when multi-dimensional array is
15 echo "*** Testing shuffle() : with multi-dimensional array ***\n";
29 // calling shuffle() function with multi-dimensional array
30 var_dump( shuffle($array_arg) );
35 // looping to test shuffle() with each sub-array in the multi-dimensional array
36 echo "\n*** Testing shuffle() with arrays having different types of values ***\n";
40 var_dump( shuffle($array_arg[$i]) );
49 *** Testing shuffle() : with multi-dimensional array ***
119 *** Testing shuffle() with arrays having different types of values ***