Re: [PHP-DEV] Possibility to include called object in exception backtrace

2025-12-01 Thread Marc B.
Hi Derick, On 01.12.25 12:44, Rowan Tommins [IMSoP] wrote: On 1 December 2025 10:36:51 GMT, Derick Rethans wrote: I don't think that adding an INI setting (again) is a good idea. If you want to make this configurable, it should be an option on Exception::getTrace() — INI settings make applicati

Re: [PHP-DEV] Possibility to include called object in exception backtrace

2025-12-01 Thread Rowan Tommins [IMSoP]
On 1 December 2025 10:36:51 GMT, Derick Rethans wrote: >I don't think that adding an INI setting (again) is a good idea. If you >want to make this configurable, it should be an option on >Exception::getTrace() — INI settings make applications less portable >(even though this is a debugging opti

Re: [PHP-DEV] Possibility to include called object in exception backtrace

2025-12-01 Thread Derick Rethans
On Sat, 29 Nov 2025, Marc B. wrote: > I have opened a simple PR to add the possibility to include called > object in exception backtrace. > > https://github.com/php/php-src/pull/20599 > > This needs a discussion here to see if there are objections. > > About the patch: > > The patch adds the

[PHP-DEV] Possibility to include called object in exception backtrace

2025-11-28 Thread Marc B.
Hi all, I have opened a simple PR to add the possibility to include called object in exception backtrace. https://github.com/php/php-src/pull/20599 This needs a discussion here to see if there are objections. About the patch: The patch adds the ability to populate the called |object| into