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 fd42cdb commit afba201Copy full SHA for afba201
ext/opcache/zend_persist.c
@@ -37,7 +37,8 @@
37
38
#define zend_set_str_gc_flags(str) do { \
39
GC_SET_REFCOUNT(str, 2); \
40
- if (file_cache_only) { \
+ if (file_cache_only \
41
+ || (ZCG(current_persistent_script) && ZCG(current_persistent_script)->corrupted)) { \
42
GC_TYPE_INFO(str) = GC_STRING | (IS_STR_INTERNED << GC_FLAGS_SHIFT); \
43
} else { \
44
GC_TYPE_INFO(str) = GC_STRING | ((IS_STR_INTERNED | IS_STR_PERMANENT) << GC_FLAGS_SHIFT); \
0 commit comments