def get_cfg_var(interp, var):
    """ Gets the value of a PHP configuration option"""
    w_value = interp.config.get_ini_w(var)
    if w_value is None:
        return interp.space.w_False
    return w_value