From: Dmitry Stogov Date: Tue, 16 Jul 2019 19:56:20 +0000 (+0300) Subject: Provide type info X-Git-Tag: php-7.4.0beta1~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6812c0c846f2465f62b63c974ef9794701d87cf;p=php Provide type info --- diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c index 698611e1a7..247acc90f3 100644 --- a/ext/opcache/zend_persist.c +++ b/ext/opcache/zend_persist.c @@ -399,7 +399,7 @@ static void zend_persist_op_array_ex(zend_op_array *op_array, zend_persistent_sc || opline->opcode == ZEND_SEND_VAL_EX || opline->opcode == ZEND_QM_ASSIGN) { /* Update handlers to eliminate REFCOUNTED check */ - zend_vm_set_opcode_handler_ex(opline, 0, 0, 0); + zend_vm_set_opcode_handler_ex(opline, 1 << Z_TYPE_P(opline->op1.zv), 0, 0); } } if (opline->op2_type == IS_CONST) {