From: Felipe Pena Date: Tue, 19 Nov 2013 21:53:27 +0000 (-0200) Subject: - Check for PHPDBG_DEBUG X-Git-Tag: php-5.6.0alpha1~110^2~191^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dace704d152240a4681a6cfc87d3a303f0defa1a;p=php - Check for PHPDBG_DEBUG --- diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index 5b3de53ccc..fca4af34a3 100644 --- a/phpdbg_cmd.c +++ b/phpdbg_cmd.c @@ -326,10 +326,10 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input TSRM return phpdbg_do_cmd_ex(command->subs, &sub TSRMLS_CC); } - phpdbg_debug( "found command %s for %s with %d arguments", command->name, input->argv[0]->string, input->argc-1); +#ifdef PHPDBG_DEBUG { int arg; for (arg=1; argargc; arg++) { @@ -340,6 +340,7 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input TSRM input->argv[arg]->length); } } +#endif break; } command++;