com php-src: Fix parse errors in -rr mode: sapi/phpdbg/phpdbg.c
| From: | Bob Weinand | Date: | Fri, 02 Oct 2015 10:51:32 +0000 |
| Subject: | com php-src: Fix parse errors in -rr mode: sapi/phpdbg/phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89262@lists.php.net to get a copy of this message | ||
Commit: 82857313620c83322ad54043b111fc7b120096e0
Author: Bob Weinand <bobwei9@hotmail.com> Fri, 2 Oct 2015 12:51:32 +0200
Parents: 4f90e2ec9d1d93652cef813789fa3aa3545e007f
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=82857313620c83322ad54043b111fc7b120096e0
Log:
Fix parse errors in -rr mode
Changed paths:
M sapi/phpdbg/phpdbg.c
Diff:
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index fb9deda..7a96f0b 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 */