summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-05-20 13:33:46 +0200
committerAnatol Belski <ab@php.net>2018-05-20 13:33:46 +0200
commitbcb1dbf6e4b7ffb8c53aec7e8525ac8664b82963 (patch)
treea5161316950ceac0cdcaaa6c17f9c044b12d9e60 /Zend/zend_API.c
parentd2d78cb3e89d3d5d3128f552aae53759cce26ca4 (diff)
parent5681f6523bb36d6b49ab802ddba75e53d8d45268 (diff)
downloadphp-git-bcb1dbf6e4b7ffb8c53aec7e8525ac8664b82963.tar.gz
Merge branch 'PHP-7.2'
* PHP-7.2: Fixed bug #76337
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 492a259778..7e1b1116b2 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -2816,6 +2816,7 @@ ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zen
zend_assert_valid_class_name(lcname);
+ lcname = zend_new_interned_string(lcname);
ce = zend_hash_add_ptr(CG(class_table), lcname, ce);
zend_string_release(lcname);
if (ce) {