Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81313 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90636 invoked from network); 28 Jan 2015 17:36:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2015 17:36:16 -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:54938] helo=dd15934.kasserver.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/34-44076-C0E19C45 for ; Wed, 28 Jan 2015 12:36:13 -0500 Received: from dd15934.kasserver.com (dd0803.kasserver.com [85.13.146.34]) by dd15934.kasserver.com (Postfix) with ESMTPSA id 5B1BC261376; Wed, 28 Jan 2015 18:36:09 +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: <5363C355-EE27-485F-9C27-C36F79B3FA37@ajf.me> References: <20150127024521.3689F2618FD@dd15934.kasserver.com><5363C355-EE27-485F-9C27-C36F79B3FA37@ajf.me> To: ajf@ajf.me Cc: internals@lists.php.net, nicolas.grekas+php@gmail.com, reeze@php.net, yohgaki@ohgaki.net Message-ID: <20150128173609.5B1BC261376@dd15934.kasserver.com> Date: Wed, 28 Jan 2015 18:36:09 +0100 (CET) Subject: Re: [PHP-DEV][RFC] Enable error_handler callback parameters to be passed by reference From: mails@thomasbley.de ("Thomas Bley") Hi, the idea behind the rfc is not to change error messages, it's only to append useful information to them. Regards Thomas Andrea Faulds wrote on 28.01.2015 17:53: > Hi Thomas, > >> On 27 Jan 2015, at 02:45, Thomas Bley wrote: >> >> Here is the rfc: >> https://wiki.php.net/rfc/error_handler_callback_parameters_passed_by_reference >> >> Thanks to reeze for coding and putting it on the wiki. >> >> Regards >> Thomas > > This feels rather weird and “hacky” to me. Error handlers really > shouldn’t be able to modify messages, it’s bad enough that they can already > ignore errors or do other weird things with them. > > So, I’m -1 on this. > > Thanks. > -- > Andrea Faulds > http://ajf.me/ > > > >