Re: Enable error_handler callback parameters to be passed by reference
| From: | Dan Ackroyd | Date: | Fri, 30 Jan 2015 09:38:28 +0000 |
| Subject: | Re: Enable error_handler callback parameters to be passed by reference | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81409@lists.php.net to get a copy of this message | ||
On 21 January 2015 at 04:39, Thomas Bley <mails@thomasbley.de> wrote:
> In userland it is sometimes necessary to extend PHP's notices/warnings with additional
> information (e.g. username from session, stack trace, etc.)
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
cheers
Dan