HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

str_shuffle

Description

The str_shuffle of String for PHP randomly shuffles a string.

Syntax

str_shuffle(
    string $string
): string

Parameters

string

The input string.

Return

Returns the shuffled string.

Examples

1 · string

<?

$string = "shuffle";

$return = str_shuffle($string);

echo $return;
ffehuls