Error/Exception handlers chaining (Was: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5)
| From: | Patrick ALLAERT | Date: | Fri, 01 Mar 2013 09:44:38 +0000 |
| Subject: | Error/Exception handlers chaining (Was: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-66386@lists.php.net to get a copy of this message | ||
2013/2/28 Derick Rethans <derick@php.net>:
> On Thu, 28 Feb 2013, Anthony Ferrara wrote:
>
>> It appears that xdebug is borking generator exception handling. Without
>> xdebug the following two tests pass, but with it they fail:
>>
>> Generator::throw() where the exception is caught in the generator
>> [Zend/tests/generators/throw_caught.phpt]
>> Generator::throw() where the generator throws a different exception
>> [Zend/tests/generators/throw_rethrow.phpt]
>
> I guess that's because something hijacks the throw exception handler,
> it's the samething with SOAP. This should be addressed so that there is
> a chain/set of handlers instead.
I'm all for it since I have the same problem with APM as well.