1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 11:42:17 +02:00
This commit is contained in:
Dmitry Stogov
2016-10-31 21:39:34 +03:00
parent e696927e48
commit d3325ff771

View File

@@ -192,7 +192,7 @@ static int find_adjusted_tmp_var(const zend_op_array *op_array, uint32_t build_f
return EX_VAR_TO_NUM(op->op1.var);
}
} else if (op->op2_type == IS_CV && op->op1_type == IS_CONST) {
zv = CRT_CONSTANT(op->op2);
zv = CRT_CONSTANT(op->op1);
if (Z_TYPE_P(zv) == IS_LONG
&& Z_LVAL_P(zv) != ZEND_LONG_MIN) {
*adjustment = -Z_LVAL_P(zv);