Skip to content

Commit fa07a9c

Browse files
committed
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.
1 parent 711bd0a commit fa07a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/phpdbg/phpdbg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ static PHP_MSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
272272
static PHP_RINIT_FUNCTION(phpdbg) /* {{{ */
273273
{
274274
/* deactivate symbol table caching to have these properly destroyed upon stack leaving (especially important for watchpoints) */
275-
EG(symtable_cache_limit) = EG(symtable_cache) - 1;
275+
EG(symtable_cache_limit) = EG(symtable_cache);
276276

277277
return SUCCESS;
278278
} /* }}} */

0 commit comments

Comments
 (0)