We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cbc914 commit 7a56e9bCopy full SHA for 7a56e9b
phpdbg_prompt.c
@@ -257,7 +257,7 @@ static PHPDBG_COMMAND(compile) /* {{{ */
257
258
static PHPDBG_COMMAND(step) /* {{{ */
259
{
260
- if (atoi(expr)) {
+ if (expr && atoi(expr)) {
261
PHPDBG_G(flags) |= PHPDBG_IS_STEPPING;
262
} else {
263
PHPDBG_G(flags) &= ~PHPDBG_IS_STEPPING;
@@ -636,7 +636,7 @@ static PHPDBG_COMMAND(help) /* {{{ */
636
} /* }}} */
637
638
static PHPDBG_COMMAND(quiet) { /* {{{ */
639
640
PHPDBG_G(flags) |= PHPDBG_IS_QUIET;
641
642
PHPDBG_G(flags) &= ~PHPDBG_IS_QUIET;
0 commit comments