[php-src] PR #25274: Fix GH-25269: JIT: misaligned zval passed to ZEND_ADD_ARRAY_ELEMENT handler
| From: | ndossche | Date: | Sat, 07 Nov 2026 09:54:35 +0000 |
| Subject: | [php-src] PR #25274: Fix GH-25269: JIT: misaligned zval passed to ZEND_ADD_ARRAY_ELEMENT handler | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40381@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25274
Author: ndossche
Using null as an array offset is deprecated since 49e3956b703. The fix for GH-20194 (9a1b8a785de)
also emits this deprecation for array literals, and marked ADD_ARRAY_ELEMENT as possibly throwing
for null keys, but forgot INIT_ARRAY.
So the JIT skipped the exception check and started executing the wrong opline.