to search something in a string in php code example
Example 1: strpos php
if(strpos('abc', 'a') !== false) { // ...
Example 2: strpos
strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int
if(strpos('abc', 'a') !== false) { // ...
strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int