I can use set_error_handler()
to catch most PHP errors, but it doesn't work for fatal (E_ERROR
) errors, such as calling a function that doesn't exist. Is there another way to catch these errors?
I am trying to call mail()
for all errors and am running PHP 5.2.3.
No comments:
Post a Comment