예제 #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);
 }