]> granicus.if.org Git - php/commit
Fixed incorrect behavior of observer API.
authorDmitry Stogov <dmitry@zend.com>
Wed, 7 Oct 2020 14:06:53 +0000 (17:06 +0300)
committerDmitry Stogov <dmitry@zend.com>
Wed, 7 Oct 2020 14:06:53 +0000 (17:06 +0300)
commitfd81e708bcabec63628b78a08fbf94b9bdc5fec6
treec6567c7ee813b0b9db1da45cbdb33a9bf9c8cfd5
parentedf0c6a6ae2c6bd0893ac9858c85be8b21079c42
Fixed incorrect behavior of observer API.

ZEND_HANDLE_EXCEPTION might call zend_observer_fcall_end() even if exception is cought by function. The fix moved zend_observer_fcall_end() into a right place and remove OBSERVER sepecialization for ZEND_HANDLE_EXCEPTION handler.
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Zend/zend_vm_handlers.h