mirror of
https://github.com/php/php-src.git
synced 2025-01-11 21:43:52 +08:00
catch up with the latest key length change
This commit is contained in:
parent
f227922446
commit
e91b669e23
@ -4529,7 +4529,7 @@ static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args
|
||||
|
||||
if (Z_TYPE_P(entry) == IS_STRING) {
|
||||
if (hash_key->key) {
|
||||
add_assoc_str_ex(retval, hash_key->key->val, (uint)hash_key->key->len, zend_string_copy(Z_STR_P(entry)));
|
||||
add_assoc_str_ex(retval, hash_key->key->val, hash_key->key->len, zend_string_copy(Z_STR_P(entry)));
|
||||
} else {
|
||||
add_index_str(retval, hash_key->h, zend_string_copy(Z_STR_P(entry)));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user