PHP strrpos() function
In this article, We will explain to you PHP strrpos() function with example.
PHP strrpos() function
The strrpos() function is a string function and case-sensitive. which is used to find the position of the last occurrence of a case-sensitive substring inside another string. so you can see our PHP String Function example.
Syntax
strrpos(string,find,start);
Example
<?PHP echo strrpos("this is my website","my"); ?>
Output
8