php index of substring code example
Example 1: php indexof
strrpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int
Example 2: strpos
strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int
strrpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int
strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int