(PHP 5 >= 5.2.0, PHP 7)
Finds the last occurrence of a character in a string within another
string mb_strrchr ( string $haystack, string $needle [, bool $part = false [, string $encoding = mb_internal_encoding() ]] )
mb_strrchr() finds the last occurrence of needle in haystack and returns the portion of haystack. If needle is not found, it returns FALSE.
Parameters:
haystack