Merge branch 'PHP-7.2'

This commit is contained in:
Nikita Popov 2018-04-26 16:17:23 +02:00
commit 32692bb083

View File

@ -2900,6 +2900,7 @@ ZEND_API int zend_disable_class(char *class_name, size_t class_name_length) /* {
key = zend_string_alloc(class_name_length, 0);
zend_str_tolower_copy(ZSTR_VAL(key), class_name, class_name_length);
disabled_class = zend_hash_find_ptr(CG(class_table), key);
zend_string_release(key);
if (!disabled_class) {
return FAILURE;
}