Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SensitiveParameterValue::__debugInfo__PHP_Incomplete_Class>
^SensitiveParameterValueLast updated: Mon, 26 Oct 2026

SensitiveParameterValue::getValue

(PHP 8 >= 8.2.0)

SensitiveParameterValue::getValue — Returns the sensitive value

Description

public function SensitiveParameterValue::getValue(): mixed

Get the sensitive value.

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


<SensitiveParameterValue::__debugInfo__PHP_Incomplete_Class>
^SensitiveParameterValueLast updated: Mon, 26 Oct 2026