示例#1
1
 public function profileUtf8StrShuffleMediumString()
 {
     UTF8::str_shuffle("abcdefghijklmnopqrstuvwxyz");
 }
示例#2
0
文件: Stringy.php 项目: voku/stringy
 /**
  * A multibyte string shuffle function. It returns a string with its
  * characters in random order.
  *
  * @return Stringy Object with a shuffled $str
  */
 public function shuffle()
 {
     $shuffledStr = UTF8::str_shuffle($this->str);
     return static::create($shuffledStr, $this->encoding);
 }