Re: [RFC] Enable error_handler callback parameters to be passed by reference

From: Date: Wed, 28 Jan 2015 17:36:09 +0000
Subject: Re: [RFC] Enable error_handler callback parameters to be passed by reference
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-81313@lists.php.net to get a copy of this message
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 <mails@thomasbley.de> 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/ > > > >

« previous php.internals (#81313) next »