diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-10-02 12:51:32 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-10-02 12:51:32 +0200 |
commit | 82857313620c83322ad54043b111fc7b120096e0 (patch) | |
tree | c9b0581629344de23070cc3fe16ca168e0c89d0f /sapi | |
parent | 4f90e2ec9d1d93652cef813789fa3aa3545e007f (diff) | |
download | php-git-82857313620c83322ad54043b111fc7b120096e0.tar.gz |
Fix parse errors in -rr mode
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |