Shuffling Arrays in PHP
shuffleЗадание 1
Given an array:
php<?php
$arr = [1, 2, 3, 4, 5];
?>
Shuffle its elements in random order.
Задание 2
Fill an array with numbers from 1 to 25
using range, and then shuffle
its elements in random order.
Задание 3
Create an array filled with letters from 'a'
to 'z' so that the letters are in random
order and do not repeat.