[php-src] PR #14876: Fix GH-14873: PHP 8.4 min function fails on typed integer
| From: | nielsdos | Date: | Mon, 08 Jul 2024 13:37:00 +0000 |
| Subject: | [php-src] PR #14876: 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-27133@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14876
Author: nielsdos
The DFA pass may cause the op1 and result argument to be equal to each other. In the VM we always
use ZVAL_NULL(result) first, which will also destroy the first argument. Use a temporary result to
fix the issue.