Summary of Usage of PHP strripos Function
- 2021-11-24 00:58:51
- OfStack
php strripos () Function Syntax
Function: Find the last occurrence of a character in a string, case-insensitive
Syntax:
strripos(string,find,start)
Parameters:
string required. Specifies the string to be searched for.
find Required. Specifies the characters to find.
start is optional. Specify where to start the search.
Description: Find the last occurrence of a string in another string. The strripos () function is case-insensitive.
Example of php strripos () Function
<?php
echo strripos("You love php, I love php too!","PHP");
?>
Example of php strripos () Function
<?php
echo strripos("PHP is a good development language! I love PHP","php");
?>
Thank you for your study and support for this site.