[php-src] PR #16451: Unify headers already sent/session already started error handler

From: Date: Tue, 15 Oct 2024 14:54:50 +0000
Subject: [php-src] PR #16451: Unify headers already sent/session already started error handler
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29250@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16451 Author: NattyNarwhal Unifies the error formatting for when a session was already started or headers were already sent in ext/session. This is an evolution of GH-16378, motivated by the fact some places were neglected with the additional checks. The additional checks add a lot of noise, so it's turned into a function. This doesn't change control flow, as the error conditions as well as if any deinit needs to be happen is different per call site.

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