1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Forgotten piece of GH-13309/GH-13310 previous PR

This commit is contained in:
David Carlier
2024-02-03 13:22:45 +00:00
parent 78970ef6b2
commit 45b99f6b2f

View File

@@ -238,7 +238,7 @@ static int php_array_key_compare_string_natural_general(Bucket *f, Bucket *s, in
l2 = s->key->len;
} else {
s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h);
l2 = buf2 + sizeof(buf2) - 1 - s1;
l2 = buf2 + sizeof(buf2) - 1 - s2;
}
return strnatcmp_ex(s1, l1, s2, l2, fold_case);
}