strripos
PHP 5, PHP 7, PHP 8
strripos - Find the position of the last occurrence of a case-insensitive substring in a string
Example #1 A simple strripos example
Result: Congratulations!
We found the last (aB) in (ababcd) at position (2)
Example #2 of strripos