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