Skip to content

Commit 435530f

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Fix incorrect trace type inference
2 parents 2e0ca47 + 92ba5c2 commit 435530f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6303,7 +6303,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
63036303
}
63046304
}
63056305
if (ssa_op->op1_def >= 0
6306-
&& (opline->opcode != ZEND_QM_ASSIGN
6306+
&& ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST)
63076307
|| opline->result_type != IS_CV
63086308
|| opline->result.var != opline->op1.var)) {
63096309
uint8_t type = IS_UNKNOWN;

0 commit comments

Comments
 (0)