News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



Martynas Jusevicius' Blog:
PHP 5 Features Exceptions
0 comments :: posted Tuesday March 25, 2008 @ 10:21:11
voice your opinion now!

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.

tagged with: php5 exception feature try catch extend framework



releases release framework mysql book job application developer package database code PEAR PHP5 pecl zend conference zendframework cakephp ajax security

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