Nicolas Grekas b758162fb4 bug #63144 [Form] Fix OrderedHashMap auto-increment logic with mixed keys (yoeunes)
This PR was merged into the 6.4 branch.

Discussion
----------

[Form] Fix `OrderedHashMap` auto-increment logic with mixed keys

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

When `OrderedHashMap` has mixed integer and string keys, appending a new element overwrites existing integer keys instead of generating a new key:

```php
$map = new OrderedHashMap();
$map[0] = 'zero';
$map[1] = 'one';
$map['foo'] = 'bar';
$map[] = 'new'; // overwrites key 1 instead of creating key 2
```

Commits
-------

10f9f01898e [Form] Fix OrderedHashMap auto-increment logic with mixed keys
2026-01-22 21:17:27 +01:00
2025-07-10 10:14:14 +02:00
2025-07-10 10:14:14 +02:00
2025-07-10 10:14:14 +02:00
2025-07-10 10:14:14 +02:00
2013-07-21 14:12:18 +02:00
2025-07-10 10:14:14 +02:00
2025-07-10 10:14:14 +02:00
2024-01-23 15:35:58 +01:00
2021-09-09 14:56:10 +02:00
2024-01-05 10:21:56 +01:00
2025-07-10 10:14:14 +02:00
2025-07-14 18:38:25 +02:00
2025-07-10 10:14:14 +02:00
2024-01-23 15:35:58 +01:00
2025-07-14 18:38:25 +02:00
2023-02-13 14:18:23 +01:00
2020-12-08 18:03:37 +01:00
2022-08-25 17:27:04 +02:00
2024-01-23 15:35:58 +01:00
2025-07-10 10:14:14 +02:00
2025-07-10 10:14:14 +02:00
2021-08-17 17:35:52 +02:00
2024-01-23 15:35:58 +01:00
2023-01-24 15:02:46 +01:00
2025-07-10 10:14:14 +02:00
2025-07-10 10:14:14 +02:00
2021-05-26 19:39:37 +02:00

Form Component

The Form component allows you to easily create, process and reuse HTML forms.

Resources

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:33:17.098Z
Readme MIT 18 MiB
Languages
PHP 100%