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.
2 parents 4cd563d + 18f2918 commit 7ba54b9Copy full SHA for 7ba54b9
Zend/zend_objects.c
@@ -43,7 +43,8 @@ ZEND_API void zend_object_std_dtor(zend_object *object)
43
44
if (object->properties) {
45
if (EXPECTED(!(GC_FLAGS(object->properties) & IS_ARRAY_IMMUTABLE))) {
46
- if (EXPECTED(GC_DELREF(object->properties) == 0)) {
+ if (EXPECTED(GC_DELREF(object->properties) == 0)
47
+ && EXPECTED(GC_TYPE(object->properties) != IS_NULL)) {
48
zend_array_destroy(object->properties);
49
}
50
0 commit comments