We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0dea244 + d91224c commit 6842d3cCopy full SHA for 6842d3c
NEWS
@@ -2,6 +2,10 @@ PHP NEWS
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
?? ??? ????, PHP 8.3.4
4
5
+- Core:
6
+ . Fixed array key as string (case insensitive) comparison typo
7
+ for the second operand buffer size. (A. Slepykh)
8
+
9
- Curl:
10
. Fix failing tests due to string changes in libcurl 8.6.0. (Ayesh)
11
ext/standard/array.c
@@ -188,7 +188,7 @@ static zend_always_inline int php_array_key_compare_string_case_unstable_i(Bucke
188
l2 = s->key->len;
189
} else {
190
s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h);
191
- l2 = buf2 + sizeof(buf2) - 1 - s1;
+ l2 = buf2 + sizeof(buf2) - 1 - s2;
192
}
193
return zend_binary_strcasecmp_l(s1, l1, s2, l2);
194
0 commit comments