public static function mb_substr_replace($original, $replacement, $position, $length)
    {
        $startString = mb_substr($original, 0, $position, "UTF-8");
        $endString = mb_substr($original, $position + $length, mb_strlen($original), "UTF-8");

        return $startString . $replacement . $endString;
    }
public static function mb_substr_replace($original, $replacement, $position, $length)
    {
        $startString = mb_substr($original, 0, $position, "UTF-8");
        $endString = mb_substr($original, $position + $length, mb_strlen($original), "UTF-8");

        return $startString . $replacement . $endString;
    }
public static function mb_substr_replace ( $ original , $ replacement , $ position , $ length ) { $ startString = mb_substr ( $ original , 0 , $ position , "UTF-8" ) ; $ endString = mb_substr ( $ original , $ position + $ length , mb_strlen ( $ original ) , "UTF-8" ) ; return $ startString . $ replacement . $ endString ; }
Multibyte compatible substr_replace

@param string $original
@param string $replacement
@param int $position
@param int $length
@return string
Multibyte compatible substr_replace