Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87764 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1930 invoked from network); 17 Aug 2015 11:19:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2015 11:19:05 -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:58301] helo=mail.cweiske.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C9/51-17888-923C1D55 for ; Mon, 17 Aug 2015 07:19:05 -0400 Received: by mail.cweiske.de (Postfix, from userid 65534) id 446B52E54CD; Mon, 17 Aug 2015 13:19:02 +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=unavailable 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 E0EB32E54C8; Mon, 17 Aug 2015 13:19:01 +0200 (CEST) Date: Mon, 17 Aug 2015 13:19:00 +0200 To: Niklas Keller Cc: PHP Internals Message-ID: <20150817131900.66906015@csystems> In-Reply-To: References: <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: Re: [PHP-DEV] set_exception_handler catches all Throwables From: cweiske@cweiske.de (Christian Weiske) Hello Niklas, >This is intended and documented here: >http://php.net/manual/en/function.set-exception-handler.php If "Documented" means the note > Note that providing an explicit Exception type hint for the ex > parameter in your callback will cause issues with the changed > exception hierarchy in PHP 7. then yes, it's documented. But I'd not see this as documented or rather liked a more explicit mention of Throwables there. --=20 Regards/Mit freundlichen Gr=C3=BC=C3=9Fen Christian Weiske -=3D Geeking around in the name of science since 1982 =3D-