Rendomly mieszaj pozycję tablicy w PHP

<?php
// Creating an array containing a range of elements
$numbers = range(1, 10);
 
// Randomize the order of array items
shuffle($numbers);
foreach ($numbers as $value){
    echo "$value" . "<br>";
}
?>
Shohanur Rahman