Functions:reverse

Reverses a string or an array

reverse(string $value, [ bool $preserve_keys = false ])


 * value : the string or array to reverse
 * preserve_keys : if value is an array and this is true, then the array keys are left intact

Example: Output: c b a cba