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 2543e61 commit 73f0773Copy full SHA for 73f0773
ext/opcache/zend_accelerator_util_funcs.c
@@ -369,7 +369,7 @@ static void zend_class_copy_ctor(zend_class_entry **pce)
369
zend_class_entry *parent = ce->parent;
370
371
ce->default_static_members_table = emalloc(sizeof(zval) * old_ce->default_static_members_count);
372
- i = ce->default_static_members_count;
+ i = ce->default_static_members_count - 1;
373
374
/* Copy static properties in this class */
375
end = parent ? parent->default_static_members_count : 0;
0 commit comments