Is there any way I can get all notices, warnings, errors etc that PHP encounters stored in an array?
I need this for a custom error logger and I want it to catch also errors in addition to exceptions, which I already did.
I managed to find something for the last error, but that's not enough: error_get_last
set_error_handler?