Got rid of gotos in var_equals.