Redacting parameters in back traces could be configurable
Description
This is a feature request. Redacting parameters in back traces should be configureable by php.ini.
For development/debugging purposes, hiding any info from the user is undesired and should be printed unredacted as before https://wiki.php.net/rfc/redact_parameters_in_back_traces.
This RFC proposes a \SensitiveParameterValue object as the replacement value [...] Furthermore the replacement object will store the original value, allowing it to retrieve it on explicit request, while making it hard to accidentally expose it.
It's already possible. This should be a feature request for whatever error handler you're using. IMO ini setting is too easy to enable in this case.
I agree with @KapitanOczywisty. The people who benefit from SensitiveParameter the most are the people with bad configurations. If the debug configuration disables redacting sensitive parameters a large portion of the RFC is nullified. If you're in a local environment it's easy to use a debugger or dump the value to verify it. Anyway, the RFC was voted on without this feature. If you think it should be added feel free to pursue the RFC process.
Closing this one, let's see how much limitation is this in practise (from developer perspective) and how many other people want this feature.