stripos
stripos
(PHP 5, PHP 7)
stripos — Find the position of the first occurrence of a case-insensitive substring in a string
Description
mixed stripos ( string $haystack , string $needle [, int $offset = 0 ] )
Find the numeric position of the first occurrence of needle
in the haystack
string.
Unlike the strpos(), stripos() is case-insensitive.