opline->result.u.var = get_temporary_variable(CG(active_op_array));
*result = opline->result;
} else {
- SET_UNUSED(opline->result);
+ /* SET_UNUSED(opline->result); */
+ opline->result.u.EA.type |= EXT_TYPE_UNUSED;
}
opline->op1 = *lvar;
opline->op2 = *rvar;
(*variable_ptr_ptr)->is_ref = 1;
}
- if (result && (result->op_type != IS_UNUSED)) {
+ if (result && !(result->u.EA.type & EXT_TYPE_UNUSED)) {
Ts[result->u.var].var.ptr_ptr = variable_ptr_ptr;
SELECTIVE_PZVAL_LOCK(*variable_ptr_ptr, result);
AI_USE_PTR(Ts[result->u.var].var);