Hey:

On Tue, Jan 27, 2015 at 11:08 AM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:
> Hi Thomas,
>
> On Tue, Jan 27, 2015 at 11:45 AM, Thomas Bley <ma...@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.
I feel it's kindof wrong direction.

if you want custom logs, maybe you should use custom logger.

thanks
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohg...@ohgaki.net



-- 
Xinchen Hui
@Laruence
http://www.laruence.com/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to