php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #65577 session_start() file:line of call just like header()
Submitted: 2013-08-28 21:34 UTC Modified: 2018-02-28 22:17 UTC
From: lynch@php.net Assigned:
Status: Open Package: Session related
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lynch@php.net
New email:
PHP Version: OS:

 

 [2013-08-28 21:34 UTC] lynch@php.net
Description:
------------
When the first output happens, there is a record of that in PHP core.

Then, the error message for the header() that follows output can tell the programmer exactly where in their mass of code the output started.

While not quite the same scope, in a large code base, even grepping for session_start() is going to have a lot of hits.

Would it be hard to notate where session_start() got called, and include in the error message...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-28 22:17 UTC] cmb@php.net
-Package: Unknown/Other Function +Package: Session related
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 23:01:24 2023 UTC