1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix incorrect trace type inference
This commit is contained in:
Dmitry Stogov
2023-10-09 22:58:42 +03:00

View File

@@ -6303,7 +6303,7 @@ done:
}
}
if (ssa_op->op1_def >= 0
&& (opline->opcode != ZEND_QM_ASSIGN
&& ((opline->opcode != ZEND_QM_ASSIGN && opline->opcode != ZEND_CAST)
|| opline->result_type != IS_CV
|| opline->result.var != opline->op1.var)) {
uint8_t type = IS_UNKNOWN;