[php-src] PR #23831: Zend: release the trampoline when zend_call_function() bails early

From: Date: Mon, 21 Sep 2026 21:22:47 +0000
Subject: [php-src] PR #23831: Zend: release the trampoline when zend_call_function() bails early
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38697@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23831 Author: iliaal Two early returns in zend_call_function() skip zend_release_fcall_info_cache(): the one taken when zend_deprecated_function() leaves an exception pending, and the one taken when zend_handle_undef_args() fails. Each leaks the trampoline, 256 bytes per call, and trips the EG(trampoline) assertion in shutdown_executor() on a debug build. Reverting either hunk alone still fails the test. Split out of #22151, where Girgias spotted the first one. Independent of that PR.

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