summaryrefslogtreecommitdiff
path: root/phpdbg_utils.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2013-11-25 20:33:52 +0100
committerBob Weinand <bobwei9@hotmail.com>2013-11-25 20:33:52 +0100
commit2be5a1e3da05caee88bc92f2abec223cc999c1f0 (patch)
tree80ef72becc6d224f3334c3e08182351e77e24d1a /phpdbg_utils.c
parent6932eb76e3631e5e8e12e1545d152a3b8567297c (diff)
downloadphp-git-2be5a1e3da05caee88bc92f2abec223cc999c1f0.tar.gz
Enable backwards reading in list command
Diffstat (limited to 'phpdbg_utils.c')
-rw-r--r--phpdbg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpdbg_utils.c b/phpdbg_utils.c
index 2c73f9b55b..5a922e8e53 100644
--- a/phpdbg_utils.c
+++ b/phpdbg_utils.c
@@ -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);