Reordering

strrev($s) returns a string that is $s reversed.
str_repeat($s,$i) returns a string that is $s repeated $i times.
str_pad($s1,$i1[,$s2=” “, [$i2=STR_PAD_RIGHT]]) returns a string that is $s1 padded with $s2 to the length $i1. $i2 can be STR_PAD_RIGHT, STR_PAD_LEFT, or STR_PAD_BOTH.
str_shuffle($s) returns a string that is $s randomly shuffled.