diff options
-rw-r--r-- | phpdbg_prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 86fc4d718e..da06c71aff 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -645,7 +645,7 @@ PHPDBG_COMMAND(run) /* {{{ */ /* reset hit counters */ phpdbg_reset_breakpoints(TSRMLS_C); - if (param && param->type != EMPTY_PARAM) { + if (param && param->type != EMPTY_PARAM && param->len != 0) { char **argv = emalloc(5 * sizeof(char *)); int argc = 0; int i; |