strpos had two sibling function strrpos() , stripos() , strripos()
strrpos() can be used to find last occurrence of string in given string .
stripos() can be used to find first occurrence of string in given string but its case-insensitive .
strripos() can be used to find last occurrence of string in given string but its case-insensitive .
strpos is very good function which most PHP developer use many time in their work
$pos = strpos("Hello world","world");
strpos will return false if second string argument not find in first string argument .
strpos will retrun the position of the first occurrence of a second string argument in a first string argument .