Page 1 of 1

Error Handling:die & trigger_error & throw exception: Oh My!

Posted: Fri Feb 05, 2010 9:15 am
by jeff00seattle
Hi

In PHP, there are many ways in handling user and run-time coding errors. I listed a few because I am not sure if there are even more:
  1. In PHP, are there yet more error handling functions\frameworks than what I have listed?
  2. Which error handler should I uses over others and why?
  3. Which error handler should I avoid over others and why?
  4. I am all about delivering code to be shared by other PHP programmers and I closely follow Pear's PHP coding standard. To be consistent with this standard (or standards), what error handler(s) should I use.
Thanks, I appreciate the feedback

Jeff in Seattle