The strripos() function used for position of the last occurrence of a string inside another string.
Syntax
strripos(string,find,start_position)
Example
echo strripos('Hello dear, how are you','how');
Output
12
Copyright ©2022 coderraj.com. All Rights Reserved.