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)
PHP Version:


Example #2 of strripos

PHP Version:


Function strripos:

Strings Functions

Most used PHP functions