Lines Matching refs:shuffle
2 Test shuffle() function : basic functionality - with associative array
6 * Test behaviour of shuffle when an associative array is
9 * before and after shuffle() function is applied on it
12 echo "*** Testing shuffle() : with associative array ***\n";
21 // printing the input array before the shuffle operation
22 echo "\n-- input array before shuffle() function is applied --\n";
25 // applying shuffle() function on the input array
26 echo "\n-- return value from shuffle() function --\n";
27 var_dump( shuffle($array_arg) ); // prints the return value from shuffle() function
29 echo "\n-- resultant array after shuffle() function is applied --\n";
35 *** Testing shuffle() : with associative array ***
37 -- input array before shuffle() function is applied --
59 -- return value from shuffle() function --
62 -- resultant array after shuffle() function is applied --