public static string ini_set(Context ctx, string option, PhpValue value) { var old = StandardPhpOptions.TryGetSet(ctx, ctx.Configuration, option, value, StandardPhpOptions.IniAction.Set, out var error); if (error) { return(null); } else { return(old.ToString(ctx)); } }
public static string ini_get(Context ctx, string option) { var result = StandardPhpOptions.TryGetSet(ctx, ctx.Configuration, option, PhpValue.Null, StandardPhpOptions.IniAction.Get, out var error); if (error) { return(null); } else { return(result.ToString(ctx)); } }