<?php
function logIn($userName, #[\SensitiveParameter] $password) {
throw new \Exception('Error');
}
logIn( 'derick', 'secret-elephpant' );
Fatal error: Uncaught Exception: Error in Standard input code on line 4
Exception: Error in Standard input code on line 4
Call Stack:
4.8626 399576 1. {main}() Standard input code:0
4.8626 399576 2. logIn($userName = 'derick', $password = *'[Sensitive Parameter]'*) Standard input code:7