News Feed
Jobs Feed
Sections




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

Martynas Jusevicius' Blog:
PHP 5 Features Exceptions
March 25, 2008 @ 10:21:11

On his blog today Martynas Jusevicius talks about a feature that was new in PHP5 - Exceptions:

A useful new feature in PHP 5 is exception handling via the try/throw/catch paradigm. An exception may be thrown and caught. If an exception is thrown in code surrounded by try, the following statements will not be executed, and the exception will be handled by the first matching catch block.

He gives a high-level overview of how Exceptions in PHP5 work and includes a simple example from his work with his DIY Framework.

0 comments voice your opinion now!
php5 exception feature try catch extend framework


blog comments powered by Disqus

Similar Posts

Douglas Brown's Blog: Popular PHP Frameworks: What’s Your Fav?

Ilia Alshanetsky's Blog: 5.2.4 RC1 Released

PHPBuilder.com: Implementing User Defined Interfaces in PHP 5

Cake Baker's Blog: First (?) german CakePHP blog started

Sanisoft Blog: Email component in CakePHP is now Header Injection safe


Community Events











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


component hack application performance overview unittest composer language introduction opinion facebook framework release security database install symfony2 hhvm podcast package

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