Alex Rivera | Logout

Error handling in PHP

Asked 2008-09-25T16:21:05.583
31

I'm familiar with some of the basics, but what I would like to know more about is when and why error handling (including throwing exceptions) should be used in PHP, especially on a live site or web app. Is it something that can be overused and if so, what does overuse look like? Are there cases where it shouldn't be used? Also, what are some of the common security concerns in regard to error handling?

Edit
Report

1 Answer

0

You can also use Google Forms to catch and analyse exceptions, without having to maintain a database or publicly accessible server. There is a tutorial here that explains the process.

answered 2009-11-18T01:19:45.843

Your Answer