Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87762 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85933 invoked from network); 17 Aug 2015 10:31:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2015 10:31:50 -0000 Authentication-Results: pb1.pair.com header.from=cweiske@cweiske.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=cweiske@cweiske.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cweiske.de from 5.35.241.22 cause and error) X-PHP-List-Original-Sender: cweiske@cweiske.de X-Host-Fingerprint: 5.35.241.22 cweiske.de Received: from [5.35.241.22] ([5.35.241.22:48470] helo=mail.cweiske.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/50-17888-518B1D55 for ; Mon, 17 Aug 2015 06:31:50 -0400 Received: by mail.cweiske.de (Postfix, from userid 65534) id A6C582E54CB; Mon, 17 Aug 2015 12:31:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ahso2 X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from csystems (proxy.lpz.netresearch.de [85.232.25.153]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail.cweiske.de (Postfix) with ESMTPSA id 3F4532E54BA for ; Mon, 17 Aug 2015 12:31:46 +0200 (CEST) Date: Mon, 17 Aug 2015 12:31:42 +0200 To: internals@lists.php.net Message-ID: <20150817123142.13418f26@csystems> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: set_exception_handler catches all Throwables From: cweiske@cweiske.de (Christian Weiske) Hi, We're trying to use TYPO3 on PHP7 and have the problem that throwables get passed to the exception handler because 'set_exception_handler()' does send all throwables to the handler, not only exceptions. Is this intended, or should a "set_throwable_handler()" function be introduced instead? Example: http://3v4l.org/b5iV6 --=20 Regards, Christian Weiske --=20 Regards/Mit freundlichen Gr=C3=BC=C3=9Fen Christian Weiske -=3D Geeking around in the name of science since 1982 =3D-