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:
Nikita Popov 2019-09-13 23:49:50 +02:00
parent 711bd0a0fc
commit fa07a9c223

View file

@ -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;
} /* }}} */