mirror of
https://github.com/php/php-src.git
synced 2025-01-15 00:05:02 +08:00
forgotten part of the fix
This commit is contained in:
parent
9e9a55f9ac
commit
9457dc348c
@ -1080,11 +1080,11 @@ static int zend_merge_property(zval **value, int num_args, va_list args, zend_ha
|
||||
TSRMLS_FETCH();
|
||||
|
||||
if (hash_key->type == IS_STRING) {
|
||||
ZVAL_STRINGL(member, hash_key->u.string, hash_key->nKeyLength-1, 0);
|
||||
ZVAL_STRINGL(member, hash_key->u.string, hash_key->nKeyLength-1, 1);
|
||||
} else if (hash_key->type == IS_BINARY) {
|
||||
ZVAL_BINARYL(member, hash_key->u.string, hash_key->nKeyLength-1, 0);
|
||||
ZVAL_BINARYL(member, hash_key->u.string, hash_key->nKeyLength-1, 1);
|
||||
} else if (hash_key->type == IS_UNICODE) {
|
||||
ZVAL_UNICODEL(member, hash_key->u.unicode, hash_key->nKeyLength-1, 0);
|
||||
ZVAL_UNICODEL(member, hash_key->u.unicode, hash_key->nKeyLength-1, 1);
|
||||
}
|
||||
|
||||
MAKE_STD_ZVAL(member);
|
||||
|
Loading…
Reference in New Issue
Block a user