public static function getStr(string $key, ?string $default = null): ?string
    {
        $value = ini_get($key);

        return $value === false || $value === '' ? $default : $value;
    }
public static function getStr(string $key, ?string $default = null): ?string
    {
        $value = ini_get($key);

        return $value === false || $value === '' ? $default : $value;
    }
public static function getStr ( string $ key , ? string $ default = null ) : ? string { $ value = ini_get ( $ key ) ; return $ value === false || $ value === '' ? $ default : $ value ; }
Returns the string value of the given key or the given default if it is empty or does not exist.
Returns the string value of the given key or the given default if it is empty or does not exist .