Jump to content

user defined error handling


sunilvadranapu

Recommended Posts

Hi,

  I am planning to write a PHP class for handling Errors/Warnings using trigger_error function.  Could any one explain what happens the below line gets executed?

 

    trigger_error("SQL:Non Timeout Error", E_USER_NOTICE);

 

I know we can process it using our own error handler with set_error_handler(). but  if didn't set user defined handler, what happens then? will it reporterror??

 

 

thanks in advance

 

 

-sun

Link to comment
https://forums.phpfreaks.com/topic/100312-user-defined-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.