1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 21:34:03 +00:00
laravel-tips/content/tips/method-parameters-can-be-marked-as-sensitive.md
Samuel Štancl a955c3968b Week 24/2022
2022-06-19 21:46:45 +02:00

13 lines
No EOL
501 B
Markdown

---
title: 'Method parameters can be marked as "sensitive”'
tweet_id: '1538579129276059648'
thread_slug: weekly-thread-2022-24
author_username: SteveTheBauman
images:
- 'https://pbs.twimg.com/media/FVZSWpkXwAITTAp.jpg'
created_at: 2022-06-19T17:47:04+00:00
slug: method-parameters-can-be-marked-as-sensitive
---
Apparently in PHP 8.2, you can mark method parameters as "sensitive" so that they are not printed in debug_backtrace 🤯
https://php.watch/versions/8.2/backtrace-parameter-redaction