File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -593,20 +593,24 @@ PHPDBG_COMMAND(eval) /* {{{ */
593
593
594
594
/* disable stepping while eval() in progress */
595
595
PHPDBG_G (flags ) |= PHPDBG_IN_EVAL ;
596
- if (zend_eval_stringl (param -> str , param -> len ,
597
- & retval , "eval()'d code" TSRMLS_CC ) == SUCCESS ) {
598
- zend_print_zval_r (
599
- & retval , 0 TSRMLS_CC );
600
- phpdbg_writeln (EMPTY );
601
- zval_dtor (& retval );
602
- }
596
+ zend_try {
597
+ if (zend_eval_stringl (param -> str , param -> len ,
598
+ & retval , "eval()'d code" TSRMLS_CC ) == SUCCESS ) {
599
+ zend_print_zval_r (
600
+ & retval , 0 TSRMLS_CC );
601
+ phpdbg_writeln (EMPTY );
602
+ zval_dtor (& retval );
603
+ }
604
+ } zend_end_try ();
603
605
PHPDBG_G (flags ) &= ~PHPDBG_IN_EVAL ;
604
606
605
607
/* switch stepping back on */
606
608
if (stepping &&
607
609
!(PHPDBG_G (flags ) & PHPDBG_IS_STEPONEVAL )) {
608
610
PHPDBG_G (flags ) |= PHPDBG_IS_STEPPING ;
609
611
}
612
+
613
+ CG (unclean_shutdown ) = 0 ;
610
614
} break ;
611
615
612
616
phpdbg_default_switch_case ();
You can’t perform that action at this time.
0 commit comments