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 f24548e commit 34b11a7Copy full SHA for 34b11a7
ext/opcache/zend_persist.c
@@ -339,7 +339,7 @@ uint32_t zend_accel_get_class_name_map_ptr(zend_string *type_name)
339
static void zend_persist_type(zend_type *type) {
340
if (ZEND_TYPE_HAS_LIST(*type)) {
341
zend_type_list *list = ZEND_TYPE_LIST(*type);
342
- if (ZEND_TYPE_USES_ARENA(*type) || zend_accel_in_shm(type)) {
+ if (ZEND_TYPE_USES_ARENA(*type) || zend_accel_in_shm(list)) {
343
list = zend_shared_memdup_put(list, ZEND_TYPE_LIST_SIZE(list->num_types));
344
ZEND_TYPE_FULL_MASK(*type) &= ~_ZEND_TYPE_ARENA_BIT;
345
} else {
0 commit comments