PHP str_shuffle() Function

PHP STR_ROT13() FUNCTION
PHP str_split() Function

WHAT IS THE SYNTAX OF THE STR_SHUFFLE() FUNCTION IN PHP?

str_shuffle(string)
ParameterDescription
stringRequired. Specifies the string to shuffle
PHP STR_SHUFFLE() method

EXAMPLES OF THE STR_SHUFFLE() FUNCTION

Example 1. In this example, we randomly shuffle all characters of a string.

<?php
echo str_shuffle("Hello World");
?>
PHP STR_ROT13() FUNCTION
PHP str_split() Function
en English
X
Scroll to Top