Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66386 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82380 invoked from network); 1 Mar 2013 09:44:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2013 09:44:42 -0000 Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.50 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.219.50 mail-oa0-f50.google.com Received: from [209.85.219.50] ([209.85.219.50:41107] helo=mail-oa0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/10-16052-98870315 for ; Fri, 01 Mar 2013 04:44:41 -0500 Received: by mail-oa0-f50.google.com with SMTP id l20so5228874oag.23 for ; Fri, 01 Mar 2013 01:44:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:cc:content-type; bh=TNezPTyvp0qkGqjbT/I8PLYorT6Y2nSgS5SSRHjxCl0=; b=Tr46YXXV9JuwbIwAaqVRihBaCmtXy9Y5IVx6vJZzi6KS7Bsm78YomfE/+hQhjBYwTO 8IGs+xTu/LKNvCO5QEZPCTDbkS01dH1HmAXqdqsP4ZzSi3F37Xni4dFFyJ4RLszLizKc DYnRqpgXWcfjmMqP/QuXgzpB6Ji8keR8StFVDEhdmXrgZubEy5adSVnph6vfe1pr4ZYj RLy5q9Q9/KR8KB68qav4Q/OKT4RcrGloi1Ug/zJ+hsapm1VIfSp+qbZW0xSX1wcOks/f hVF0bY2AfRT9WUjTJ5FFXlT2GMG+A0z1txpF1Tt6zFtHj5imSdjMSJ3apYq6r19gcAMo ga3Q== MIME-Version: 1.0 X-Received: by 10.60.27.136 with SMTP id t8mr7826319oeg.92.1362131078397; Fri, 01 Mar 2013 01:44:38 -0800 (PST) Sender: patrick.allaert@gmail.com Received: by 10.76.163.38 with HTTP; Fri, 1 Mar 2013 01:44:38 -0800 (PST) Date: Fri, 1 Mar 2013 10:44:38 +0100 X-Google-Sender-Auth: 1xNo56yhP9lk8gATCQPrpyvq9YM Message-ID: To: Derick Rethans Cc: Anthony Ferrara , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Error/Exception handlers chaining (Was: [PHP-DEV] Include XDebug and Suhosin Patch in Core for 5.5) From: patrickallaert@php.net (Patrick ALLAERT) 2013/2/28 Derick Rethans : > 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.