Skip to content

Commit a6812c0

Browse files
committed
Provide type info
1 parent b317f0e commit a6812c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/zend_persist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ static void zend_persist_op_array_ex(zend_op_array *op_array, zend_persistent_sc
399399
|| opline->opcode == ZEND_SEND_VAL_EX
400400
|| opline->opcode == ZEND_QM_ASSIGN) {
401401
/* Update handlers to eliminate REFCOUNTED check */
402-
zend_vm_set_opcode_handler_ex(opline, 0, 0, 0);
402+
zend_vm_set_opcode_handler_ex(opline, 1 << Z_TYPE_P(opline->op1.zv), 0, 0);
403403
}
404404
}
405405
if (opline->op2_type == IS_CONST) {

0 commit comments

Comments
 (0)