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 3f1e923 commit fe0eaf1Copy full SHA for fe0eaf1
Zend/zend_opcode.c
@@ -305,12 +305,14 @@ ZEND_API void destroy_zend_class(zval *zv)
305
}
306
} ZEND_HASH_FOREACH_END();
307
308
- p = ce->default_properties_table;
309
- end = p + ce->default_properties_count;
+ if (ce->default_properties_table) {
+ p = ce->default_properties_table;
310
+ end = p + ce->default_properties_count;
311
- while (p < end) {
312
- zval_ptr_dtor_nogc(p);
313
- p++;
+ while (p < end) {
+ zval_ptr_dtor_nogc(p);
314
+ p++;
315
+ }
316
317
return;
318
0 commit comments