⊗ppPmRdAS 180 of 447 menu

Shuffling Arrays in PHP

shuffle

Given an array:

<?php $arr = [1, 2, 3, 4, 5]; ?>

Shuffle its elements in random order.

Fill an array with numbers from 1 to 25 using range, and then shuffle its elements in random order.

Create an array filled with letters from 'a' to 'z' so that the letters are in random order and do not repeat.

byenru