From 82857313620c83322ad54043b111fc7b120096e0 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Fri, 2 Oct 2015 12:51:32 +0200 Subject: Fix parse errors in -rr mode --- sapi/phpdbg/phpdbg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg.c') diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index fb9deda2a7..7a96f0ba09 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1848,7 +1848,9 @@ phpdbg_interact: } else { PHPDBG_G(flags) |= PHPDBG_IS_INTERACTIVE; } - PHPDBG_COMMAND_HANDLER(run)(NULL); + zend_try { + PHPDBG_COMMAND_HANDLER(run)(NULL); + } zend_end_try(); if (quit_immediately) { /* if -r is on the command line more than once just quit */ EG(bailout) = __orig_bailout; /* reset zend_try */ -- cgit v1.2.1