PHP 8.4.0 RC4 available for testing

SensitiveParameterValue::getValue

(PHP 8 >= 8.2.0)

SensitiveParameterValue::getValueReturns the sensitive value

Description

public SensitiveParameterValue::getValue(): mixed

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

The sensitive value.

Examples

Example #1 SensitiveParameterValue::getValue() example

<?php
$s
= new \SensitiveParameterValue('secret');

echo
"The protected value is: ", $s->getValue(), "\n";
?>

The above example will output:

The protected value is: secret

add a note

User Contributed Notes

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