If you're tired of some of the error messages that PHP throws at you, you don't have to take it anymore. There are ways that you can make you own custom error handlers in PHP, and this new article from Zend will show you how.
Custom Error Handling (by Matt Wade of Codewalkers) they introduce you to the functions you'll need, like set_error_handlder and how to define the handler itself (input vars and all). You can use functionality like this to make your app a little more "user friendly", and easier to debug as well.
Personally, I think custom error reporting is a pretty underused portion of the PHP language. A lot of the code I see that uses it seemed to throw it in as an after-thought, and not really as something made to help with error checking in the application...




