Skip to content

Commit

Permalink
Fix parse errors in -rr mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi committed Oct 2, 2015
1 parent 4f90e2e commit 8285731
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sapi/phpdbg/phpdbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,9 @@ int main(int argc, char **argv) /* {{{ */
} 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 */
Expand Down

0 comments on commit 8285731

Please sign in to comment.