PHP Conference Japan 2024

SensitiveParameterValue::getValue

(PHP 8 >= 8.2.0)

SensitiveParameterValue::getValue回傳敏感值

說明

public SensitiveParameterValue::getValue(): 混合

警告

此函式目前沒有說明文件;僅提供其參數列表。

參數

此函式沒有參數。

回傳值

敏感值。

範例

範例 #1 SensitiveParameterValue::getValue() 範例

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

echo
"保護的值為:", $s->getValue(), "\n";
?>

上述範例將輸出

The protected value is: secret

新增註記

使用者貢獻的註記

此頁面沒有使用者貢獻的註記。
To Top