PHP 8.4.2 Released!

The SensitiveParameterValue class

(PHP 8 >= 8.2.0)

Introduzione

The SensitiveParameterValue class allows wrapping sensitive values to protect them against accidental exposure.

Values of parameters having the SensitiveParameter attribute will automatically be wrapped inside of a SensitiveParameterValue object within stack traces.

Sommario della classe

final class SensitiveParameterValue {
/* Proprietà */
private readonly mixed $value;
/* Metodi */
public __construct(mixed $value)
public __debugInfo(): array
public getValue(): mixed
}

Proprietà

value

The sensitive value to be protected against accidental exposure.

Indice dei contenuti

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top