mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
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.
This commit is contained in:
parent
711bd0a0fc
commit
fa07a9c223
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
} /* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue