- Need to discuss where the real problem is.
if (op1->type == IS_BOOL || op2->type == IS_BOOL
|| op1->type == IS_NULL || op2->type == IS_NULL) {
- if (free_op1) {
- convert_to_boolean(op1);
- } else {
- zendi_convert_to_boolean(op1, op1_copy, result);
- }
+ zendi_convert_to_boolean(op1, op1_copy, result);
zendi_convert_to_boolean(op2, op2_copy, result);
result->type = IS_LONG;
result->value.lval = ZEND_NORMALIZE_BOOL(op1->value.lval-op2->value.lval);