1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +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

501 B

title tweet_id thread_slug author_username images created_at slug
Method parameters can be marked as "sensitive” 1538579129276059648 weekly-thread-2022-24 SteveTheBauman
https://pbs.twimg.com/media/FVZSWpkXwAITTAp.jpg
2022-06-19T17:47:04+00:00 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