ramblings on PHP, SQL, the web, politics, ultimate frisbee and what else is on in my life
back

Brideing the rift between PEAR_Error and PEAR_Exception

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.

I just quickly wrote up 2 proxy classes that could make it easy to switch a given package between these two error handling mechanisms. Just food for thought.

Comments



Re: Brideing the rift between PEAR_Error and PEAR_Exception

Maybe the P in PEAR should be Patchy

Re: Brideing the rift between PEAR_Error and PEAR_Exception

Maybe it stands for Politics? :)

Before you can post a comment please solve the following captcha.
your name