News Feed
Sections




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

Lukas Smith's Blog:
Brideing the rift between PEAR_Error and PEAR_Exception
June 16, 2006 @ 09:07:11

Lukas Smith has a quick post today about some of the tension that's come up between to PEAR error handling packages and something he's created to try to help calm things down.

Well there is a lot of back and forth about if PEAR should mandate PEAR_Error or PEAR_Exceptions or neither for new packages. This also relates to the question of PHP5 E_STRICT compliance which PEAR_Error obviously is not.

His quick fix for the problem? Two proxy classes that would make switching between either of the two error handling classes as simple as changing out which proxy you're using.

0 comments voice your opinion now!
pear pear_error pear_exceptions e_strict tension proxy classes pear pear_error pear_exceptions e_strict tension proxy classes


blog comments powered by Disqus

Similar Posts

Dan Scott's Blog: PEAR File_MARC 0.1.0 alpha officially released

PHPBuilder.com: Create a PHP-based Twitter Client with the PEAR Services_Twitter Package

IBM developerWorks: A step-by-step guide to publishing your own PEAR channels

Community News: PEAR Version 1.5.0 Released

Community News: Latest PEAR Releases for 04.09.2007


Community Events

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


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

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