mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
Fixed wrong hash value in ext/standard/tests/array/array_combine.php
This commit is contained in:
parent
70b7887712
commit
ef01b7937e
@ -1868,6 +1868,8 @@ static void increment_string(zval *str) /* {{{ */
|
||||
} else if (Z_REFCOUNT_P(str) > 1) {
|
||||
Z_DELREF_P(str);
|
||||
Z_STR_P(str) = STR_DUP(Z_STR_P(str), 0);
|
||||
} else {
|
||||
STR_FORGET_HASH_VAL(Z_STR_P(str));
|
||||
}
|
||||
s = Z_STRVAL_P(str);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user