[PHP-DEV] Re: [VOTE] Deprecations for PHP 7.2

2017-08-12 Thread Nikita Popov
On Wed, Aug 9, 2017 at 7:23 PM, Christoph M. Becker wrote: > On 09.08.2017 at 17:42, Nikita Popov wrote: > > > On Wed, Aug 9, 2017 at 5:23 PM, Christoph M. Becker > > wrote: > > > >> I assume that the $errcontext parameter of error handlers will not be > >> deprecated in PHP 7.2, but a later ver

Re: [PHP-DEV] Happy World Elephant Day

2017-08-12 Thread Andreas Heigl
Am 12.08.17 um 17:55 schrieb Midori Koçak: > Hi Internals, > > Happy world elephant day for all of internals community. Did you know there > are 400.000 elephants left all around the world and every year 40.000 of > them are dying for the ivory trade. Whoever wants to help the elephants: I've fo

[PHP-DEV] Happy World Elephant Day

2017-08-12 Thread Midori Koçak
Hi Internals, Happy world elephant day for all of internals community. Did you know there are 400.000 elephants left all around the world and every year 40.000 of them are dying for the ivory trade. Happy world elephant day again, Midori Kocak

Re: [PHP-DEV] Stop Exceptions capturing object references for trace arguments

2017-08-12 Thread Stanislav Malyshev
Hi! > My only concern is if anyone is using this data for anything other than > debugging - e.g. if they were somehow extracting extra context about the > exception by traversing the backtrace to a particular point and grabbing > the arguments. That feels like a horrible hack to me, but that doesn

Re: [PHP-DEV] Stop Exceptions capturing object references for trace arguments

2017-08-12 Thread Rowan Collins
On 12/08/2017 04:25, Stanislav Malyshev wrote: 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 al