From 4a174ca7e602fb20d12b8b665eaf3ce5d4d46bd3 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Wed, 23 Sep 2015 17:53:22 +0200 Subject: Fixed bug #70532 (respect set_exception_handler in phpdbg) --- sapi/phpdbg/phpdbg_prompt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sapi/phpdbg/phpdbg_prompt.c') 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(); } -- cgit v1.2.1