Home Menu

str_shuffle

Randomly shuffles a string

Syntax

str_shuffle ( string $str ) : string

Parameters

str

The input string.

Return

Returns the shuffled string.

Examples

<?

$str = 'abcdef';

$return = str_shuffle($str);

echo $return;

?>
bedacf

PHP

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms