mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
Added ability to make non-local control transfer through interrupt function
This commit is contained in:
parent
700ba3fc1e
commit
a6387c0aa5
@ -8613,7 +8613,7 @@ ZEND_VM_HELPER(zend_interrupt_helper, ANY, ANY)
|
||||
} else if (zend_interrupt_function) {
|
||||
SAVE_OPLINE();
|
||||
zend_interrupt_function(execute_data);
|
||||
LOAD_OPLINE();
|
||||
ZEND_VM_ENTER();
|
||||
}
|
||||
ZEND_VM_CONTINUE();
|
||||
}
|
||||
|
@ -2081,7 +2081,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_interrupt_helper_SPEC(ZEND_OPC
|
||||
} else if (zend_interrupt_function) {
|
||||
SAVE_OPLINE();
|
||||
zend_interrupt_function(execute_data);
|
||||
LOAD_OPLINE();
|
||||
ZEND_VM_ENTER();
|
||||
}
|
||||
ZEND_VM_CONTINUE();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user