php + indexof code example Example: php indexof strrpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int