Skip to content

Commit ca68570

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Provide type info
2 parents c4a6998 + a6812c0 commit ca68570

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
@@ -403,7 +403,7 @@ static void zend_persist_op_array_ex(zend_op_array *op_array, zend_persistent_sc
403403
|| opline->opcode == ZEND_SEND_VAL_EX
404404
|| opline->opcode == ZEND_QM_ASSIGN) {
405405
/* Update handlers to eliminate REFCOUNTED check */
406-
zend_vm_set_opcode_handler_ex(opline, 0, 0, 0);
406+
zend_vm_set_opcode_handler_ex(opline, 1 << Z_TYPE_P(opline->op1.zv), 0, 0);
407407
}
408408
}
409409
if (opline->op2_type == IS_CONST) {

0 commit comments

Comments
 (0)