[php-src] PR #25251: Add a regression test for GH-25247
| From: | rafamolina1 | Date: | Fri, 06 Nov 2026 20:02:20 +0000 |
| Subject: | [php-src] PR #25251: Add a regression test for GH-25247 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40363@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25251
Author: rafamolina1
## Summary
- Adds
ext/opcache/tests/jit/gh25247.phpt. On PHP 8.3, tracing JIT could pass a stale
value as argument 13 or above when that argument was a QM_ASSIGN left in a register
(GH-25247).
- The IR JIT already stores the value before the VM handler reads the slot. This test locks that in.
There is no JIT code change on master.
- The 8.3 fix is separate, so this does not close GH-25247.
## Test plan
- [x] The phpt passes on PHP 8.7.0-dev with opcache and tracing JIT