laminas / laminas-httphandlerrunner

Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.
https://docs.laminas.dev/laminas-httphandlerrunner/
BSD 3-Clause "New" or "Revised" License
63 stars 20 forks source link

Extract extra info from headers_sent #1

Closed weierophinney closed 3 years ago

weierophinney commented 4 years ago

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 https://github.com/zendframework/zend-httphandlerrunner/pull/13

weierophinney commented 4 years ago

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


Originally posted by @Xerkus at https://github.com/zendframework/zend-httphandlerrunner/pull/13#issuecomment-478370582

boesing commented 3 years ago

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