<!DOCTYPE html>
<html>
<body>

<?php
$my_array = array("red","green","blue","yellow","purple");

shuffle($my_array);
print_r($my_array);
?>


<p>Refresh the page to see how shuffle() randomizes the order of the elements in the array.</p>

</body>
</html>