Removed deprecated check

This commit is contained in:
Dmitry Stogov 2017-07-14 11:45:13 +03:00
parent c51659ea8c
commit ab367deef9

View file

@ -689,7 +689,6 @@ static void sccp_visit_instr(scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_o
SET_RESULT(result, &zv); SET_RESULT(result, &zv);
return; return;
} else if (!(type & ((MAY_BE_ANY|MAY_BE_UNDEF) - expected_type)) } else if (!(type & ((MAY_BE_ANY|MAY_BE_UNDEF) - expected_type))
&& opline->extended_value != IS_OBJECT
&& opline->extended_value != IS_RESOURCE) { && opline->extended_value != IS_RESOURCE) {
ZVAL_TRUE(&zv); ZVAL_TRUE(&zv);
SET_RESULT(result, &zv); SET_RESULT(result, &zv);