Take a look at the patch: http://lars.schokokeks.org/php/exception-previous-compat.phps
It looks completely backwards compatible to me and does not require loading of any additional code. Any new code could chain the exceptions while existing code can be updated over time. This is a reasonable and simple change to do now as it makes Zend_Exception comply to the PHP 5.3 Exception class which is a good thing. I think improved exception handling is very important to assist new users to troubleshoot problems. The exception stack is one of those features that makes it much easier to find the root cause of problems. I see this completely independent from other proposed enhancements (the central/enhanced error codes for example). Christoph > Zend_Exception is used _everywhere_. Introducing a change like this then > has ramifications throughout the framework -- not just in terms of > potential changes in handling, but also in terms of performance (adding > exception listeners means more code loaded and executed for exceptions, > which are already expensive). > > Basically, it's going to take some time to sort out what effects it has, > and I feel that those efforts would be generally better targetted at 2.0 > when we're making large changes already. > >
