Re: Enable error_handler callback parameters to be passed by reference
| From: | Yasuo Ohgaki | Date: | Fri, 30 Jan 2015 22:45:45 +0000 |
| Subject: | Re: Enable error_handler callback parameters to be passed by reference | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81457@lists.php.net to get a copy of this message | ||
Hi Dan,
On Fri, Jan 30, 2015 at 6:38 PM, Dan Ackroyd <danack@basereality.com> wrote:
> Why can't you just use in the error handler function to write the
> exact message you want?
>
> http://php.net/manual/en/function.error-log.php
>
Forgot to mention important part.
It's perfectly valid to use error_log. I just think leaving PHP error log
for fatal
errors is a best practice, in general.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net