Skip to content

Conversation

TimWolla
Copy link
Member

While investigating #19842 I was wondering why non-interned string didn't cause troubles, until I realized it was the value instead of the key. Nevertheless it appears useful to check that the key is actually interned as claimed by the caller to prevent hard-to-find bugs.

While investigating php#19842 I was wondering why non-interned string
didn't cause troubles, until I realized it was the value instead of the key.
Nevertheless it appears useful to check that the key is actually interned as
claimed by the caller to prevent hard-to-find bugs.
@TimWolla TimWolla merged commit 28fc06b into php:master Sep 16, 2025
9 checks passed
@TimWolla TimWolla deleted the zend-hash-append-ex-assert branch September 16, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants