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

add shutdown function to print stack trace & other debug info on fatal errors #6428

Closed
diosmosis opened this issue Oct 13, 2014 · 2 comments
Closed
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@diosmosis
Copy link
Member

As title, will be helpful for debugging strange errors.

@mattab
Copy link
Member

mattab commented Nov 3, 2014

IIRC it's not possible to hook into Fatal errors and display things there but I may be wrong

@mattab mattab added the Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. label Nov 3, 2014
@mattab mattab added this to the Mid term milestone Nov 3, 2014
@mnapoli
Copy link
Contributor

mnapoli commented Nov 3, 2014

It's possible with register_shutdown_function() (I guess that's what @diosmosis meant) e.g. http://stackoverflow.com/questions/277224/how-do-i-catch-a-php-fatal-error

@mattab mattab closed this as completed Jul 8, 2016
@mattab mattab added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants