php str_shuffle () function syntax

php str_shuffle () function syntax

str_shuffle () function how to use?

php str_shuffle () function is used to disrupt a random string of all the characters, the syntax is str_shuffle (string), returns the string has been disrupted.

Role: Random upset all the characters in a string marble platform price

Syntax: str_shuffle (String)

parameter:

parameter description
string We must require the string to be disrupted

Description: Returns a string has been disrupted

php str_shuffle () function examples

<?php
$i = "hello world";
$j = str_shuffle($i);
echo $j;
?>

Guess you like

Origin www.cnblogs.com/furuihua/p/11881226.html