php function used to randomize array elements and remove and assigns array indices and change the order of array elements code example Example: php shuffle array shuffle($myAry);