Q. Which PHP function is used to shuffle an array?
β
Correct Answer: (B)
shuffle()
Explanation: shuffle() randomly reorders array elements.