News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developer Drive:
PHP Error Checking
July 31, 2012 @ 12:58:49

The Developer Drive site has a new post with a few beginner suggestions about how to do some error reporting in your applications:

As much as programmers attempt to anticipate every possible action or combination of actions that a user can take when encountering a web application, no one can foresee them all. When the user takes an unanticipated course of action and "breaks" the application, the software needs to catch them before they fall.

They show you a few methods for handling the errors that might come up including the die function, exception handling, triggering errors and just outputting errors via an "echo" or "print" (or something similar).

0 comments voice your opinion now!
error handling checking exception trigger die


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: Common programming errors and how to avoid them

Rob Allen: Throw an exception when simplexml_load_string fails

Christopher Kunz's Blog: Building PHP with cURL and libmysqlclient5

Programmer Assist: Handling File Uploads With PHP

Three Devs & A Maybe Podcast: Exception and Error Handling


Community Events

Don't see your event here?
Let us know!


laravel podcast threedevsandamaybe extension development community interview release library voicesoftheelephpant opinion language feature framework api laravel5 series introduction wordpress unittest

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework