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

Fix syntax error in SWITCH VM

Closes GH-14768
This commit is contained in:
Ilija Tovilo
2024-07-02 11:53:20 +02:00
parent 6467655568
commit bc32a6bd4e

View File

@@ -8024,7 +8024,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;