strripos
strripos
(PHP 5, PHP 7)
strripos — Find the position of the last occurrence of a case-insensitive substring in a string
Description
int strripos ( string $haystack , string $needle [, int $offset = 0 ] )
Find the numeric position of the last occurrence of needle
in the haystack
string.
Unlike the strrpos(), strripos() is case-insensitive.