mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
Week 24/2022
This commit is contained in:
parent
bd6a684102
commit
a955c3968b
12 changed files with 138 additions and 1 deletions
13
content/tips/method-parameters-can-be-marked-as-sensitive.md
Normal file
13
content/tips/method-parameters-can-be-marked-as-sensitive.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue