(PHP 4 >= 4.0.6, PHP 5, PHP 7)
Find position of last occurrence of a string in a string
int mb_strrpos ( string $haystack, string $needle [, int $offset = 0 [, string $encoding = mb_internal_encoding() ]] )
Performs a multibyte safe strrpos() operation based on the number of characters. needle position is counted from the beginning of haystack. First character's position is 0. Second character position is 1.