Skip to content

Commit af3e2d3

Browse files
committed
Initialize last_line in phpdbg globals
1 parent f2b6b2e commit af3e2d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/phpdbg/phpdbg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ static inline void php_phpdbg_globals_ctor(zend_phpdbg_globals *pg) /* {{{ */
181181
pg->stdin_file = NULL;
182182

183183
pg->cur_command = NULL;
184+
pg->last_line = 0;
184185
} /* }}} */
185186

186187
static PHP_MINIT_FUNCTION(phpdbg) /* {{{ */

0 commit comments

Comments
 (0)