[GIT-PULLS] [php-src] PR #22766: Fix GH-22256: Preserve frameless argument order
[email protected] (prateekbhujel) Thu, 16 Jul 2026 15:53:45 +0000
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/22766 Author: prateekbhujel Frameless calls keep CV arguments in their original slots until the handler runs. If a later argument changes one of those CVs, the handler sees the new value instead of the value from when the earlier argument was evaluated. Copy earlier CV arguments before compiling a later expression that may have side effects. The common variable, literal, and constant argument paths remain unchanged. Includes tests for assignment, increment, and mutation through a nested call. Fixes GH-22256