Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96274 invoked from network); 28 Jan 2015 17:50:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2015 17:50:29 -0000 Authentication-Results: pb1.pair.com header.from=mails@thomasbley.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mails@thomasbley.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thomasbley.de from 85.13.137.24 cause and error) X-PHP-List-Original-Sender: mails@thomasbley.de X-Host-Fingerprint: 85.13.137.24 dd15934.kasserver.com Received: from [85.13.137.24] ([85.13.137.24:55586] helo=dd15934.kasserver.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/75-44076-36129C45 for ; Wed, 28 Jan 2015 12:50:28 -0500 Received: from dd15934.kasserver.com (dd0803.kasserver.com [85.13.146.34]) by dd15934.kasserver.com (Postfix) with ESMTPSA id DF53026185A; Wed, 28 Jan 2015 18:50:23 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SenderIP: 178.19.222.74 User-Agent: ALL-INKL Webmail 2.11 In-Reply-To: References: <20150127024521.3689F2618FD@dd15934.kasserver.com> <5363C355-EE27-485F-9C27-C36F79B3FA37@ajf.me> <20150128173609.5B1BC261376@dd15934.kasserver.com> To: ajf@ajf.me Cc: internals@lists.php.net, nicolas.grekas+php@gmail.com, reeze@php.net, yohgaki@ohgaki.net Message-ID: <20150128175023.DF53026185A@dd15934.kasserver.com> Date: Wed, 28 Jan 2015 18:50:23 +0100 (CET) Subject: Re: [PHP-DEV][RFC] Enable error_handler callback parameters to be passed by reference From: mails@thomasbley.de ("Thomas Bley") > Error handlers are global anyway, so this is useless (or dangerous) for > libraries. Yes that's true, maybe set_error_handler can be changed so it behaves like register_shutdown_function or spl_autoload_register when multiple callbacks are registered? Regards Thomas Andrea Faulds wrote on 28.01.2015 18:38: > Hi Thomas, > >> On 28 Jan 2015, at 17:36, Thomas Bley wrote: >> >> the idea behind the rfc is not to change error messages, it's only to append >> useful information to them. > > That’s still changing the message. > > Error handlers are global anyway, so this is useless (or dangerous) for > libraries. > > I don’t get it. > > -- > Andrea Faulds > http://ajf.me/ > > > >