php strripos () function syntax

php strripos () function syntax

Role: find the location of a character string of the last occurrence of a case-insensitive. Marble platform

Syntax: strripos (String, the Find, Start)

parameter:

parameter description
string     essential. Specifies the string to be searched.
find     essential. The provisions of the character to find. 
start     Optional. Where to start the search provisions.

Description: Find the string in another string of the last occurrence. strripos () function is not case-sensitive.

php strripos () function examples

<?php
echo strripos("You love php, I love php too!","PHP");
?>

 

Guess you like

Origin www.cnblogs.com/furuihua/p/11898242.html