--TEST-- Test shuffle() function : basic functionality - array with default keys --FILE-- --EXPECTF-- *** Testing shuffle() : with arrays having default keys *** -- input array of integers before shuffle() function is applied -- array(9) { [0]=> int(0) [1]=> int(10) [2]=> int(20) [3]=> int(30) [4]=> int(40) [5]=> int(50) [6]=> int(60) [7]=> int(70) [8]=> int(80) } -- return value from shuffle() function -- bool(true) -- resultant array after shuffle() function is applied -- array(9) { [0]=> int(%d) [1]=> int(%d) [2]=> int(%d) [3]=> int(%d) [4]=> int(%d) [5]=> int(%d) [6]=> int(%d) [7]=> int(%d) [8]=> int(%d) } -- input array of strings before shuffle() function is applied -- array(9) { [0]=> string(3) "one" [1]=> string(3) "two" [2]=> string(5) "three" [3]=> string(4) "four" [4]=> string(4) "five" [5]=> string(1) " " [6]=> string(3) "six" [7]=> string(1) " " [8]=> string(5) "seven" } -- return value from shuffle() function -- bool(true) -- resultant array after shuffle() function is applied -- array(9) { [0]=> string(%d) "%s" [1]=> string(%d) "%s" [2]=> string(%d) "%s" [3]=> string(%d) "%s" [4]=> string(%d) "%s" [5]=> string(%d) "%s" [6]=> string(%d) "%s" [7]=> string(%d) "%s" [8]=> string(%d) "%s" } Done