[php-src] PR #14903: Fix GH-14873: PHP 8.4 min function fails on typed integer
| From: | nielsdos | Date: | Wed, 10 Jul 2024 12:52:52 +0000 |
| Subject: | [php-src] PR #14903: Fix GH-14873: PHP 8.4 min function fails on typed integer | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27168@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14903
Author: nielsdos
The problem is that this line in the VM:
ZVAL_NULL(result); changes the type of arg1 as
well, because after the DFA pass the result and input both use CV0($result).
We should not contract assignments with CVs in frameless calls with arguments.
An older attempt is found at GH-14876 that tried to modify the VM/JIT.