php8.5
Home/ Manual/ language / predefined/ The SensitiveParameterValue class

The SensitiveParameterValue class

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

Intro

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.

Class synopsis

final SensitiveParameterValue { }

Properties

value

The sensitive value to be protected against accidental exposure.

Construct Debuginfo Getvalue

In this section

Source: language/predefined/sensitiveparametervalue.xml · from the official PHP manual (php/doc-en)