php-profiler
php-profiler copied to clipboard
Exclude all ENV variables with new configuration option
This PR adds a new configuration option to exclude all $_ENV variables from the profiling data.
- New config:
'profiler.is-exclude-all-env' => false(default:false) - When set to
true, all environment variables will be excluded from the result. - Fixes #79
This helps prevent leaking a large number of secrets or sensitive information into the profiling output.