Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract extra info from headers_sent #1

Closed
weierophinney opened this issue Dec 31, 2019 · 2 comments · Fixed by #17
Closed

Extract extra info from headers_sent #1

weierophinney opened this issue Dec 31, 2019 · 2 comments · Fixed by #17
Milestone

Comments

@weierophinney
Copy link
Member

headers_sent allows you to define a file and a line that has undesirable output, otherwise it is impossible to identify and correct the error, there is not enough of this and it is difficult to debug, but the edit is very small, but gives many possibilities, I hope this edit will fall into the main branch, thanks!

https://www.php.net/manual/en/function.headers-sent.php


Originally posted by @undercloud at zendframework/zend-httphandlerrunner#13

@weierophinney
Copy link
Member Author

@undercloud It is a new feature, please target develop branch. Also it needs tests to be accepted.


Originally posted by @Xerkus at zendframework/zend-httphandlerrunner#13 (comment)

@boesing
Copy link
Member

boesing commented Jul 8, 2021

Oh, I actually liek this and want to add this to v2

@boesing boesing added this to the 2.0.0 milestone Jul 8, 2021
boesing added a commit to boesing/laminas-httphandlerrunner that referenced this issue Jul 8, 2021
…ception`

The `headers_sent` function has optional `$filename` and `$line` arguments which can be passed by reference.

Closes laminas#1

Signed-off-by: Maximilian Bösing <[email protected]>
boesing added a commit to boesing/laminas-httphandlerrunner that referenced this issue Jul 12, 2021
…ception`

The `headers_sent` function has optional `$filename` and `$line` arguments which can be passed by reference.

Closes laminas#1

Signed-off-by: Maximilian Bösing <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants