[php-src] PR #22766: Fix GH-22256: Preserve frameless argument order

From: Date: Thu, 16 Jul 2026 15:53:45 +0000
Subject: [php-src] PR #22766: Fix GH-22256: Preserve frameless argument order
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37095@lists.php.net to get a copy of this message
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

« previous php.git-pulls (#37095) next »