strripos - 语法
strripos(string,find,start)
它用于查找一个字符串在另一个字符串中最后出现的位置
Sr.No | 参数 & Description |
---|---|
1 |
string 它指定要搜索的字符串 |
2 |
find 它指定要查找的字符串 |
3 |
start 它指定从哪里开始 |
strripos - 返回值
它返回一个字符串在另一个字符串中最后出现的位置,如果没有找到字符串,则返回False
strripos - 示例
<?php echo strripos("tutorials point,POINT tutorials","point"); ?>
这将产生以下输出-
16