php-profiler icon indicating copy to clipboard operation
php-profiler copied to clipboard

Exclude all ENV variables with new configuration option

Open Rjiegit opened this issue 8 months ago • 3 comments

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.

Rjiegit avatar May 31 '25 11:05 Rjiegit