History log of /php-src/ext/opcache/tests/opt/gh14873.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 1a07bb92 10-Jul-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-14873: PHP 8.4 min function fails on typed integer

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 r

Fix GH-14873: PHP 8.4 min function fails on typed integer

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.

Closes GH-14903.

show more ...