diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h index 975aa77d5ec..b710fa874af 100644 --- a/Zend/zend_vm_def.h +++ b/Zend/zend_vm_def.h @@ -8057,7 +8057,7 @@ ZEND_VM_HANDLER(149, ZEND_HANDLE_EXCEPTION, ANY, ANY) /* Exception was thrown before executing any op */ if (UNEXPECTED(!throw_op)) { - ZEND_VM_DISPATCH_TO_HELPER(zend_dispatch_try_catch_finally_helper, try_catch_offset, -1, 0, 0); + ZEND_VM_DISPATCH_TO_HELPER(zend_dispatch_try_catch_finally_helper, try_catch_offset, -1, op_num, 0); } uint32_t throw_op_num = throw_op - EX(func)->op_array.opcodes;