Added ability to make non-local control transfer through interrupt function

This commit is contained in:
Dmitry Stogov 2016-06-24 12:20:41 +03:00
parent 700ba3fc1e
commit a6387c0aa5
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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();
}