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.
1 parent 7e477f4 commit be0d9cbCopy full SHA for be0d9cb
main/main.c
@@ -347,6 +347,7 @@ static PHP_INI_MH(OnChangeMemoryLimit)
347
348
zend_ini_entry *max_mem_limit_ini = zend_hash_str_find_ptr(EG(ini_directives), ZEND_STRL("max_memory_limit"));
349
entry->value = zend_string_init(ZSTR_VAL(max_mem_limit_ini->value), ZSTR_LEN(max_mem_limit_ini->value), true);
350
+ GC_MAKE_PERSISTENT_LOCAL(entry->value);
351
PG(memory_limit) = PG(max_memory_limit);
352
353
return SUCCESS;
0 commit comments