PHP strripos() function


In this article, We will explain to you PHP strripos() function with example.

PHP strripos() function

The strripos() function is a string function and case-insensitive. which is used to find the position of the last occurrence of a case-insensitive substring inside another string. so you can see our PHP String Function example.

Syntax

strripos(string,find,start);

Example

<?PHP
    echo strripos("This is my website","My");
?>

Output

8