News Feed
Sections




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

DevShed:
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

Rob Thompson's Blog: PHP and Solaris - getcwd() Behavior

Larry Garfield's Blog: readfile() not considered harmful

Hasin Hayder's Blog: Vulnerable bug in CodeIgniter which took us hours to fix our corrupted database

DevShed: Using Visitor Objects with MySQL Data Sets in PHP 5

PHP.net: PHP 5.3.1 Released!


Community Events

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


language php7 api release framework unittest laravel extension community example series interview podcast xdebug voicesoftheelephpant introduction library laravel5 opinion install

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