Skip to content

Commit 550595c

Browse files
committed
Added missed ~
1 parent d526dde commit 550595c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_inference.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2333,7 +2333,7 @@ static int zend_update_type_info(const zend_op_array *op_array,
23332333
if (opline->op1_type == IS_CV) {
23342334
if (!(orig & MAY_BE_REF)) {
23352335
if (orig & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE)) {
2336-
orig &= (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE);
2336+
orig &= ~(MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE);
23372337
orig |= MAY_BE_OBJECT | MAY_BE_RC1 | MAY_BE_RCN;
23382338
}
23392339
if (orig & MAY_BE_OBJECT) {

0 commit comments

Comments
 (0)