Skip to content

Commit dace704

Browse files
committed
- Check for PHPDBG_DEBUG
1 parent 4672313 commit dace704

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

phpdbg_cmd.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,10 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input TSRM
326326

327327
return phpdbg_do_cmd_ex(command->subs, &sub TSRMLS_CC);
328328
}
329-
330329
phpdbg_debug(
331330
"found command %s for %s with %d arguments",
332331
command->name, input->argv[0]->string, input->argc-1);
332+
#ifdef PHPDBG_DEBUG
333333
{
334334
int arg;
335335
for (arg=1; arg<input->argc; arg++) {
@@ -340,6 +340,7 @@ int phpdbg_do_cmd_ex(const phpdbg_command_t *command, phpdbg_input_t *input TSRM
340340
input->argv[arg]->length);
341341
}
342342
}
343+
#endif
343344
break;
344345
}
345346
command++;

0 commit comments

Comments
 (0)