PHP strrev() Function

The strrev() function reverses a string.

string strrev ( string $string )

Returns string, reversed.

Example -

ParameterDescription
stringThe string to be reversed.

Returns the reversed string.