I just discovered that PHP offers a function set_error_handler and was wondering if I could use this to have errors sent to me by mail rather displaying them on-page.
But would there be any point to using set_error_handler? Since E_ERROR won't be caught by that.
Or is there perhaps even a library that already does what I'm trying to do here?
Thanks!