(PHP 8 >= 8.2.0)
SensitiveParameterValue::__debugInfo — Protects the sensitive value against accidental exposure
Returns an empty array to protect the sensitive value against accidental exposure when using var_dump().
此函数没有参数。
An empty array.
示例 #1 Passing a SensitiveParameterValue object to var_dump()
<?php
$s = new \SensitiveParameterValue('secret');
var_dump($s);
?>
以上示例会输出:
object(SensitiveParameterValue)#1 (0) { }