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

From: Date: Tue, 27 Jan 2015 03:08:56 +0000
Subject: Re: [RFC] Enable error_handler callback parameters to be passed by reference
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-81194@lists.php.net to get a copy of this message
Hi Thomas, On Tue, Jan 27, 2015 at 11:45 AM, 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. > It looks good to me. Future Scope set_error_handler() callback might be able to handle E_ERROR to be able to append additional information to memory_limit exhaustions (or others). I really want to catch E_RROR by user defined error handler. The only reason why this was disabled is abuse of error handler. We may document abuse of error handler with E_ERROR may result in undefined behavior including memory leak/crash and allow it. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#81194) next »