Skip to content

Commit c6debd7

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Fix syntax error in SWITCH VM
2 parents ad7d1a7 + bc32a6b commit c6debd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_vm_def.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8057,7 +8057,7 @@ ZEND_VM_HANDLER(149, ZEND_HANDLE_EXCEPTION, ANY, ANY)
80578057

80588058
/* Exception was thrown before executing any op */
80598059
if (UNEXPECTED(!throw_op)) {
8060-
ZEND_VM_DISPATCH_TO_HELPER(zend_dispatch_try_catch_finally_helper, try_catch_offset, -1, 0, 0);
8060+
ZEND_VM_DISPATCH_TO_HELPER(zend_dispatch_try_catch_finally_helper, try_catch_offset, -1, op_num, 0);
80618061
}
80628062

80638063
uint32_t throw_op_num = throw_op - EX(func)->op_array.opcodes;

0 commit comments

Comments
 (0)