PHP strrchr Function
What is strrchr Function?
In PHP, this function is used to find the last occurrence of a character in a string.
In the above syntax "string" specifies the strings to be searched, "char" specifies the character to be searched for.
echo strrchr("Hello How Are You","o");
In the above example the character "o" is searched from the position of last occurence, then rest of the string is displayed.