From 550595c085e9e887b449659725388f98c4cd5d4a Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 25 Sep 2017 12:22:35 +0300 Subject: [PATCH] Added missed ~ --- ext/opcache/Optimizer/zend_inference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index ecfb14ca37..fecd68fa2e 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -2333,7 +2333,7 @@ static int zend_update_type_info(const zend_op_array *op_array, if (opline->op1_type == IS_CV) { if (!(orig & MAY_BE_REF)) { if (orig & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) { - orig &= (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE); + orig &= ~(MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE); orig |= MAY_BE_OBJECT | MAY_BE_RC1 | MAY_BE_RCN; } if (orig & MAY_BE_OBJECT) { -- 2.40.0