.
Divya
In PHP the strrev() function is used to get reverses of a string.
strrev(string)
Output
!dlroW olleH