[php-src] Issue #10721: Improved Bug Report for "header already sent" warning

From: Date: Mon, 27 Feb 2023 20:46:33 +0000
Subject: [php-src] Issue #10721: Improved Bug Report for "header already sent" warning
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243814@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10721 Author: ianwhiteley WARNING RECEIVED PHP Warning: session_start(): Cannot start session when headers already sent in /filepath on line xx CURRENT SCENARIO & ISSUE This warning gives the line number xx of the session_start(). It does not tell you WHAT triggered the sending of headers before this point was reached, and where that point is. REQUESTED IMPROVEMENT Add the file / line number for WHEN the last headers were previously sent - as this can be very difficult to pinpoint.

« previous php.bugs (#243814) next »