Shuffle Characters in String using PHP

str_shuffle function

<?php

$text = 'Hello';
$result = str_shuffle($text);

echo $result;

Leave a Comment

Cancel reply

Your email address will not be published.