Jump to content

Error handling


pernest

Recommended Posts

Hi,

 

I am new to error handling, (Usually I just don't bother!).

 

I have been trying to use the set_error_handler function to create a custom error handler, it works nicely for simple errors. However with the following error (resulting from using up too much memory whilst processing an image), it doesn't get called.

 

Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 3800 bytes)

 

Is there any way I can handle this sort of error?

 

Many thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/189571-error-handling/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.