News Feed

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

Error Handling in PHP - Introducing Exceptions in PHP 5
January 19, 2006 @ 06:53:22

Today, Devshed as posted the second and last part in their "Error Handling in PHP" series - Introducing Exceptions in PHP 5.

Welcome to the last part of the series "Error Handling in PHP." In two parts, this series introduces the basics of error handling in PHP. It demonstrates some of the most common methods for manipulating errors in PHP 4, and explains the implementation of exceptions in PHP 5, particularly in object-oriented environments.

They introduce things like try/catch blocks as well as more complex items like custom exceptions and exception subclassing. They start with the basics, but quickly move into grabbing more detailed error information, working with the various error types, and extending the Exception class with subclasses to make it more flexible...

0 comments voice your opinion now!
error handling part two introducing exceptions php5 error handling part two introducing exceptions php5

blog comments powered by Disqus

Similar Posts

Jared White\'s Blog: Winning the PHP 5 Framework Wars

Bas De Nooijer's Blog: Benchmarking PHP Solr response data handling PHP statistics for September 2007

SitePoint PHP Blog: Top 7 PHP Security Blunders

Web Development Blog: 404 Errors: Report, monetize and analyse

Community Events

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

extension language library video laravel release voicesoftheelephpant interview framework api podcast laravel5 unittest version security series introduction community php7 opinion

All content copyright, 2015 :: - Powered by the Solar PHP Framework