Shuffling Strings in PHP

str_shuffle
Задание 1

Given a string. Shuffle the characters of this string in a random order.

Задание 2

Create a string 6 characters long, consisting of small English letters arranged in a random order. The letters must not repeat.