Re: [RFC] Enable error_handler callback parameters to be passed by reference
| From: | Stanislav Malyshev | Date: | Tue, 27 Jan 2015 19:43:00 +0000 |
| Subject: | Re: [RFC] Enable error_handler callback parameters to be passed by reference | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81255@lists.php.net to get a copy of this message | ||
Hi!
> I feel it's kindof wrong direction.
>
> if you want custom logs, maybe you should use custom logger.
Same here, API basing on modifying something that is supposed to be
internal engine things feels wrong, even if it does work. Changing error
message is borderline, changing things like lines/filenames just feels
wrong.
Maybe better access to logging system for custom logging would be more
efficient instead?
--
Stas Malyshev
smalyshev@gmail.com