public static function iPos($haystack, $needle, $offset = 0)
    {
        if (self::isMBString()) {
            return mb_stripos($haystack, $needle, $offset, self::$encoding);
        }

        return stripos($haystack, $needle, $offset); // @codeCoverageIgnore
    }
public static function iPos($haystack, $needle, $offset = 0)
    {
        if (self::isMBString()) {
            return mb_stripos($haystack, $needle, $offset, self::$encoding);
        }

        return stripos($haystack, $needle, $offset); // @codeCoverageIgnore
    }
public static function iPos ( $ haystack , $ needle , $ offset = 0 ) { if ( self :: isMBString ( ) ) { return mb_stripos ( $ haystack , $ needle , $ offset , self :: $ encoding ) ; } return stripos ( $ haystack , $ needle , $ offset ) ; // @codeCoverageIgnore }
Finds position of first occurrence of a string within another, case insensitive

@param string $haystack
@param string $needle
@param int    $offset
@return int
Finds position of first occurrence of a string within another case insensitive