Mix up all the elements of an array with shuffle(). Calling this function will remove all existing keys and leaves you with an array with numbered keys starting at zero.

This affects the original array. It only returns true or false (on success or failure). Just like you shuffle a deck of cards, the array you started with gets shuffled up and you can’t put it back the way it was.