We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08ba240 + ee9773b commit d766a73Copy full SHA for d766a73
main/main.c
@@ -351,6 +351,7 @@ static PHP_INI_MH(OnChangeMemoryLimit)
351
352
zend_ini_entry *max_mem_limit_ini = zend_hash_str_find_ptr(EG(ini_directives), ZEND_STRL("max_memory_limit"));
353
entry->value = zend_string_init(ZSTR_VAL(max_mem_limit_ini->value), ZSTR_LEN(max_mem_limit_ini->value), true);
354
+ GC_MAKE_PERSISTENT_LOCAL(entry->value);
355
PG(memory_limit) = PG(max_memory_limit);
356
357
return SUCCESS;
0 commit comments