PHP shuffle() Function
The shuffle() function randomizes the order of elements in an array.
Syntax
shuffle(array &$array): true
Try It Online
Output
Click Run to execute your code
Enjoying these tutorials?