diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-13 23:49:50 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-14 00:25:07 +0200 |
commit | fa07a9c223a4aeaa55232d174d778974999ba779 (patch) | |
tree | b0528d0b891b58b5c0c936ed6c697b347fc90bca /sapi/phpdbg | |
parent | 711bd0a0fcd681df5d03d3b869fc3ddc7db1a75b (diff) | |
download | php-git-fa07a9c223a4aeaa55232d174d778974999ba779.tar.gz |
Fix symtable_cache_limit assignment in phpdbg
The meaning of the limit changed in 7.4, it now points one past the
end. Adjust code accordingly.
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 17de15fa91..8b01acdfe2 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -272,7 +272,7 @@ static PHP_MSHUTDOWN_FUNCTION(phpdbg) /* {{{ */ static PHP_RINIT_FUNCTION(phpdbg) /* {{{ */ { /* deactivate symbol table caching to have these properly destroyed upon stack leaving (especially important for watchpoints) */ - EG(symtable_cache_limit) = EG(symtable_cache) - 1; + EG(symtable_cache_limit) = EG(symtable_cache); return SUCCESS; } /* }}} */ |