We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27be2f commit 2e4aed3Copy full SHA for 2e4aed3
phpdbg_cmd.c
@@ -459,6 +459,9 @@ PHPDBG_API phpdbg_input_t *phpdbg_read_input(char *buffered TSRMLS_DC) /* {{{ */
459
{
460
phpdbg_input_t *buffer = NULL;
461
char *cmd = NULL;
462
+#ifndef HAVE_LIBREADLINE
463
+ char buf[PHPDBG_MAX_CMD];
464
+#endif
465
466
if (!(PHPDBG_G(flags) & PHPDBG_IS_QUITTING)) {
467
if ((PHPDBG_G(flags) & PHPDBG_IS_REMOTE) &&
@@ -475,7 +478,6 @@ PHPDBG_API phpdbg_input_t *phpdbg_read_input(char *buffered TSRMLS_DC) /* {{{ */
475
478
}
476
479
477
480
#ifndef HAVE_LIBREADLINE
- char buf[PHPDBG_MAX_CMD];
481
if (!(PHPDBG_G(flags) & PHPDBG_IS_REMOTE)) {
482
if (!phpdbg_write(phpdbg_get_prompt(TSRMLS_C))) {
483
goto disconnect;
0 commit comments