Skip to content

Commit c682441

Browse files
committed
so it must be this?
1 parent 1e4dbbd commit c682441

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Zend/zend_API.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4394,10 +4394,9 @@ ZEND_API zend_property_info *zend_declare_typed_property(zend_class_entry *ce, z
43944394
}
43954395
}
43964396
// printf("%s %s\n", ce->name->val, name->val);
4397-
if (Z_REFCOUNTED_P(property)) {
4398-
// printf("refcounted\n");
4399-
ce->ce_flags |= ZEND_ACC_HAS_RC_PROPS;
4400-
}
4397+
// if (Z_REFCOUNTED_P(property)) {
4398+
// ce->ce_flags |= ZEND_ACC_HAS_RC_PROPS;
4399+
// }
44014400
property_default_ptr = &ce->default_properties_table[OBJ_PROP_TO_NUM(property_info->offset)];
44024401
ZVAL_COPY_VALUE(property_default_ptr, property);
44034402
Z_PROP_FLAG_P(property_default_ptr) = Z_ISUNDEF_P(property) ? IS_PROP_UNINIT : 0;

0 commit comments

Comments
 (0)