summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-09-23 17:53:22 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-09-23 17:53:29 +0200
commit4a174ca7e602fb20d12b8b665eaf3ce5d4d46bd3 (patch)
tree47a850b3a3411b943ff421b0cd37af6583b03809 /sapi/phpdbg/phpdbg_prompt.c
parentaba42e3dda6e3210cf26e667badd2eb7766dae4e (diff)
downloadphp-git-4a174ca7e602fb20d12b8b665eaf3ce5d4d46bd3.tar.gz
Fixed bug #70532 (respect set_exception_handler in phpdbg)
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index cacfe932aa..0314d39f24 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -744,6 +744,8 @@ PHPDBG_COMMAND(run) /* {{{ */
}
if (restore) {
+ zend_exception_restore();
+ zend_try_exception_handler();
if (EG(exception)) {
phpdbg_handle_exception();
}