mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Enable backwards reading in list command
This commit is contained in:
parent
6932eb76e3
commit
2be5a1e3da
3 changed files with 8 additions and 3 deletions
|
@ -69,7 +69,7 @@ PHPDBG_API int phpdbg_is_numeric(const char *str) /* {{{ */
|
|||
return 0;
|
||||
|
||||
for (; *str; str++) {
|
||||
if (isspace(*str)) {
|
||||
if (isspace(*str) || *str == '-') {
|
||||
continue;
|
||||
}
|
||||
return isdigit(*str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue