Ejemplo n.º 1
1
 public function profileUtf8StrShuffleMediumString()
 {
     UTF8::str_shuffle("abcdefghijklmnopqrstuvwxyz");
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }