1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00

show where

This commit is contained in:
krakjoe
2013-11-19 19:35:48 +00:00
parent cfc62cdbe0
commit 99a1414924
+7 -1
View File
@@ -193,10 +193,16 @@ static inline phpdbg_input_t** phpdbg_read_argv(char *buffer, int *argc TSRMLS_D
case IN_STRING:
phpdbg_error(
"Malformed command line @ %d!", l);
"Malformed command line (unclosed quote) @ %d: %s!",
(p - buffer)-1, &buffer[(p - buffer)-1]);
break;
}
if ((*argc) == 0) {
/* not needed */
efree(argv);
}
return argv;
} /* }}} */