News Feed
Sections




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

RamonLechuga.com:
PHP Error Handler, Tracking your project bugs
June 01, 2010 @ 13:26:16

In a new post on RamonLechuga.com today there's a look at errors in PHP and how to set up come custom error handlers to make your debugging process simpler.

There's a way to hide those ugly error outputs from PHP, and not just that you can track them, log them and manage them. We have different type of errors some of them are possible to catch and others aren't, in this post you will learn how to build your own error tracker.

He lists out the PHP error types and includes what they mean (pulled from the manual) and follows it with some code to help you create two different error handlers - one that will catch most of the normal error types and another that will catch some of the more pesky fatal errors that can't be handled normally. Code for each is included.

0 comments voice your opinion now!
error handling bug errorlevel custom


blog comments powered by Disqus

Similar Posts

The Web Squeeze: Using Prado - A PHP Framework

Eran Galperin's Blog: Handling mail and mime in PHP using the Zend Framework

Travis Swicegood's Blog: Pushing the boundries of PHP

PHPClasses.org: Lately in PHP Episode 15 - PHP 5.3.8 Upgrade, PHP 5.4 beta, Wrong Ideas About PHP

Hasin Hayder's Blog: An interesting bug in ReflectionParameter object in PHP 5.2.1


Community Events





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


wordpress laravel release podcast configure bugfix developer install series list api interview introduction language framework threedevsandamaybe code application community library

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