Skip to content

Commit bc32a6b

Browse files
committed
Fix syntax error in SWITCH VM
Closes GH-14768
1 parent 6467655 commit bc32a6b

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
@@ -8024,7 +8024,7 @@ ZEND_VM_HANDLER(149, ZEND_HANDLE_EXCEPTION, ANY, ANY)
80248024

80258025
/* Exception was thrown before executing any op */
80268026
if (UNEXPECTED(!throw_op)) {
8027-
ZEND_VM_DISPATCH_TO_HELPER(zend_dispatch_try_catch_finally_helper, try_catch_offset, -1, 0, 0);
8027+
ZEND_VM_DISPATCH_TO_HELPER(zend_dispatch_try_catch_finally_helper, try_catch_offset, -1, op_num, 0);
80288028
}
80298029

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

0 commit comments

Comments
 (0)