SensitiveParameterValue::getValue
PHP Manual
PHP Manual»SensitiveParameterValue»SensitiveParameterValue::getValue

SensitiveParameterValue::getValue

(PHP 8 >= 8.2.0)

SensitiveParameterValue::getValueReturns the sensitive value

Descrizione

public function SensitiveParameterValue::getValue(): mixed

Get the sensitive value.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

The sensitive value.

Esempi

Example #1 SensitiveParameterValue::getValue() example

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

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

Il precedente esempio visualizzerà:

The protected value is: secret

To Top