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 8214a9f commit d1ca6c2Copy full SHA for d1ca6c2
Zend/zend_API.c
@@ -2905,7 +2905,9 @@ ZEND_API void zend_type_free_interned_trees(void) {
2905
pefree(tree->compound.types, 1);
2906
} else {
2907
if (ZEND_TYPE_HAS_NAME(tree->simple_type)) {
2908
- zend_string_release_ex(ZEND_TYPE_NAME(tree->simple_type), 1);
+ if (!ZSTR_IS_INTERNED(ZEND_TYPE_NAME(tree->simple_type))) {
2909
+ zend_string_release_ex(ZEND_TYPE_NAME(tree->simple_type), 1);
2910
+ }
2911
}
2912
2913
pefree(tree, 1);
0 commit comments