Re: Stop Exceptions capturing object references for trace arguments
| From: | Stanislav Malyshev | Date: | Sat, 12 Aug 2017 03:25:56 +0000 |
| Subject: | Re: Stop Exceptions capturing object references for trace arguments | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100192@lists.php.net to get a copy of this message | ||
Hi!
> The "args" part of this contains full object references to anything that
> happens to have been a function argument in the stack, and causes two
> problems:
I think it makes sense to make exception not to collect args. In fact, I
think this may also be one of rare cases where new ini setting would be
appropriate, where the default could be the old way (at least for now,
for BC), and recommended production setting would be off.
--
Stas Malyshev
smalyshev@gmail.com