public static function clear($name): void
    {
        if (static::$immutable) {
            return;
        }

        if (\function_exists('\\putenv')) {
            \putenv($name);
        }

        unset($_ENV[$name], $_SERVER[$name]);
    }