File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
- Opcache:
9
9
. Add opcache.preload_user INI directive. (Dmitry)
10
+ . Fixed bug #78514 (Preloading segfaults with inherited typed property).
11
+ (Nikita)
10
12
11
13
- PCRE:
12
14
. Fixed bug #78349 (Bundled pcre2 library missing LICENCE file). (Peter Kokot)
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ class Z {
43
43
public a $ bar ;
44
44
}
45
45
46
+ class Z2 extends Z {}
47
+
46
48
function get_anon () {
47
49
return new class {};
48
50
}
Original file line number Diff line number Diff line change @@ -931,8 +931,9 @@ static void zend_update_parent_ce(zend_class_entry *ce)
931
931
zend_class_entry * ce = ZEND_TYPE_CE (prop -> type );
932
932
if (ce -> type == ZEND_USER_CLASS ) {
933
933
ce = zend_shared_alloc_get_xlat_entry (ce );
934
- ZEND_ASSERT (ce );
935
- prop -> type = ZEND_TYPE_ENCODE_CE (ce , ZEND_TYPE_ALLOW_NULL (prop -> type ));
934
+ if (ce ) {
935
+ prop -> type = ZEND_TYPE_ENCODE_CE (ce , ZEND_TYPE_ALLOW_NULL (prop -> type ));
936
+ }
936
937
}
937
938
}
938
939
} ZEND_HASH_FOREACH_END ();
You can’t perform that action at this time.
0 commit comments