Skip to content

Commit 3da0a80

Browse files
committed
Remove forgotten code
1 parent db58d12 commit 3da0a80

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Zend/zend_API.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4580,10 +4580,6 @@ ZEND_API zend_class_constant *zend_declare_typed_class_constant(zend_class_entry
45804580
zval_make_interned_string(value);
45814581
}
45824582

4583-
if (!ZSTR_IS_INTERNED(name)) {
4584-
name = zend_new_interned_string(zend_string_copy(name));
4585-
}
4586-
45874583
if (ce->type == ZEND_INTERNAL_CLASS) {
45884584
c = pemalloc(sizeof(zend_class_constant), 1);
45894585
} else {

0 commit comments

Comments
 (0)