[php-src] PR #23256: PFA: Fix strict_types checking when a const arg is inlined

From: Date: Thu, 13 Aug 2026 16:38:18 +0000
Subject: [php-src] PR #23256: PFA: Fix strict_types checking when a const arg is inlined
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37830@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23256 Author: arnaud-lb GH-22829 added an optimization to burn literal arguments into the generated closure. An overlooked side effect is that this arguments are not checked anymore by zp_bind() (GH-22789). Fix by checking these arguments ahead of time. Bug found by Ryan @ Calif.io.

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