peachpiecompiler / peachpie

PeachPie - the PHP compiler and runtime for .NET and .NET Core
https://www.peachpie.io
Apache License 2.0
2.33k stars 202 forks source link

Is it feasible to include argument values in debug_backtrace() ? #1083

Open kripper opened 1 year ago

kripper commented 1 year ago

Test case:

function Test($val) {
    print_r(debug_backtrace());
}
Test('MyValue');

In Zend, this feature can be controlled via option zend.exception_ignore_args

jakubmisek commented 1 year ago

I'm not sure we can collect arguments from the NET stack :/