From: Felipe Pena Date: Thu, 21 Nov 2013 23:19:55 +0000 (-0200) Subject: - WS X-Git-Tag: php-5.6.0alpha1~110^2~143^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=601b75731a1ba51aa7f8c9c268e70dda9fb49dda;p=php - WS --- diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 85222e8c5d..7099ecb6f7 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -511,7 +511,7 @@ PHPDBG_COMMAND(eval) /* {{{ */ PHPDBG_G(flags) |= PHPDBG_IS_STEPPING; } } break; - + phpdbg_default_switch_case(); } @@ -612,7 +612,7 @@ PHPDBG_COMMAND(info) /* {{{ */ { phpdbg_error( "No information command selected !"); - + return SUCCESS; } /* }}} */ @@ -1115,7 +1115,7 @@ void phpdbg_execute_ex(zend_op_array *op_array TSRMLS_DC) /* {{{ */ #endif zend_bool original_in_execution = EG(in_execution); HashTable vars; - + #if PHP_VERSION_ID < 50500 if (EG(exception)) { return; @@ -1265,8 +1265,8 @@ next: DO_INTERACTIVE(); } - PHPDBG_G(vmret) = execute_data->opline->handler(execute_data TSRMLS_CC); - + PHPDBG_G(vmret) = execute_data->opline->handler(execute_data TSRMLS_CC); + if (PHPDBG_G(vmret) > 0) { switch (PHPDBG_G(vmret)) { case 1: