[php-src] PR #19843: zend_hash: Assert that the `interned` parameter is not a lie
| From: | TimWolla | Date: | Mon, 15 Sep 2025 12:32:39 +0000 |
| Subject: | [php-src] PR #19843: zend_hash: Assert that the `interned` parameter is not a lie | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33229@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19843
Author: TimWolla
While investigating php/php-src#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.