1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00

Use proper API

This commit is contained in:
Yasuo Ohgaki
2016-10-16 07:29:05 +09:00
parent f58701fe6f
commit 7cb1be2ecd
+1 -2
View File
@@ -3335,8 +3335,7 @@ MBSTRING_API HashTable *php_mb_convert_encoding_recursive(HashTable *input, cons
chash = (HashTable *)emalloc(sizeof(HashTable));
zend_hash_init(chash, 0, NULL, ZVAL_PTR_DTOR, 0);
}
Z_ARRVAL(entry_tmp) = chash;
Z_TYPE_INFO(entry_tmp) = IS_ARRAY_EX;
ZVAL_ARR(&entry_tmp, chash);
break;
case IS_OBJECT:
default: