strrev(): PHP String Reverse
$input_string: Input string to be reversed
Output is the string after reversing input string.
The origial ( input string ) remains same.
We can reverse any string by applying strrev() function. Here is what a normal string will look like.
The new string after applying the strrev function is here
Here is the code
Printing the string in reverse without using strrev() function.Here is the code.
Output is here
This function support utf-8 encoding and does not work with unicode strings.