Re: Re: PEAR's Error Handling and PHP5

From: Date: Wed, 07 Jun 2006 21:51:20 +0000
Subject: Re: Re: PEAR's Error Handling and PHP5
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42846@lists.php.net to get a copy of this message
Am Wednesday 07 June 2006 23:22 schrieb Lukas Smith: > The point is you have multiple independent methods, modules or > whatever that interact on some level that means that you are likely > to break one piece when messing with certain things in another. Yay, that's the first valid example I have ever read that's contra exceptions! Nicely done :-) If you just want to mess around and see the difference between schema version A and B while suppressing the others without having to add tons of try...catch blocks around them, though, you could just put something like this into your code: function leaveMeAlone($ex) {} set_exception_handler('leaveMeAlone'); This should allow testing without unhandled exceptions blocking your script excecution. CU Markus

« previous php.pear.dev (#42846) next »