mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
15 lines
261 B
PHP
15 lines
261 B
PHP
--TEST--
|
|
A SensitiveParameterValue's value is accessible using reflection.
|
|
--FILE--
|
|
<?php
|
|
|
|
$v = new SensitiveParameterValue('secret');
|
|
|
|
$r = new ReflectionClass($v);
|
|
$p = $r->getProperty('value');
|
|
|
|
var_dump($p->getValue($v));
|
|
|
|
?>
|
|
--EXPECTF--
|
|
string(6) "secret"
|