public static function isMBString(): bool
    {
        static $isLoaded;

        if (null === $isLoaded) {
            $isLoaded = extension_loaded('mbstring');

            if ($isLoaded) {
                mb_internal_encoding(self::$encoding);
            }
        }

        return $isLoaded;
    }
public static function isMBString(): bool
    {
        static $isLoaded;

        if (null === $isLoaded) {
            $isLoaded = extension_loaded('mbstring');

            if ($isLoaded) {
                mb_internal_encoding(self::$encoding);
            }
        }

        return $isLoaded;
    }
public static function isMBString ( ) : bool { static $ isLoaded ; if ( null === $ isLoaded ) { $ isLoaded = extension_loaded ( 'mbstring' ) ; if ( $ isLoaded ) { mb_internal_encoding ( self :: $ encoding ) ; } } return $ isLoaded ; }
Check is mbstring loaded

@return bool
Check is mbstring loaded