mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
13 lines
No EOL
501 B
Markdown
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 |