Skip to content

Commit 0158e65

Browse files
committed
Remove forgotten code
1 parent 715b5bd commit 0158e65

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
@@ -4579,10 +4579,6 @@ ZEND_API zend_class_constant *zend_declare_typed_class_constant(zend_class_entry
45794579
zval_make_interned_string(value);
45804580
}
45814581

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

0 commit comments

Comments
 (0)