Definition and usage
The strripos () function identifies a character appearing in a string.
If the function exists, return success, otherwise return FALSE.
Grammar
strripos(string,find,start)
Parameter Description
string: required. Specify string search
find: required. Find the specified string
start: optional. Specify where to start the search
Okay, let’s take a look at the practical tutorial of strripos.
echo strripos("Hello world!","WO");
?>
The output result is 6
Note that this function is not case sensitive.