Test Secured _____________________________________________________________
var_dump ::::::::::::::::::::::::::::::::::::::::
object(Secured)#1 (1) {
["content"]=>
string(10) "**SECRET**"
}
serialize ::::::::::::::::::::::::::::::::::::::::
string(18) "O:7:"Secured":0:{}"
print_r ::::::::::::::::::::::::::::::::::::::::
Secured Object
(
[content] => **SECRET**
)
casting ::::::::::::::::::::::::::::::::::::::::
string(10) "**SECRET**"
var_export ::::::::::::::::::::::::::::::::::::::::
string(101) "\Secured::__set_state(array(
'content' =>
\SensitiveParameterValue::__set_state(array(
)),
))"
Test SensitiveParameterValue _____________________________________________________________
var_dump ::::::::::::::::::::::::::::::::::::::::
object(SensitiveParameterValue)#1 (0) {
}
serialize ::::::::::::::::::::::::::::::::::::::::
Serialization of 'SensitiveParameterValue' is not allowed
print_r ::::::::::::::::::::::::::::::::::::::::
SensitiveParameterValue Object
(
)
casting ::::::::::::::::::::::::::::::::::::::::
Object of class SensitiveParameterValue could not be converted to string
var_export ::::::::::::::::::::::::::::::::::::::::
string(47) "\SensitiveParameterValue::__set_state(array(
))"
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
Output for 8.2.20 - 8.2.29
Test Secured _____________________________________________________________
var_dump ::::::::::::::::::::::::::::::::::::::::
object(Secured)#1 (1) {
["content"]=>
string(10) "**SECRET**"
}
serialize ::::::::::::::::::::::::::::::::::::::::
string(18) "O:7:"Secured":0:{}"
print_r ::::::::::::::::::::::::::::::::::::::::
Secured Object
(
[content] => **SECRET**
)
casting ::::::::::::::::::::::::::::::::::::::::
string(10) "**SECRET**"
var_export ::::::::::::::::::::::::::::::::::::::::
string(101) "\Secured::__set_state(array(
'content' =>
\SensitiveParameterValue::__set_state(array(
)),
))"
Test SensitiveParameterValue _____________________________________________________________
var_dump ::::::::::::::::::::::::::::::::::::::::
object(SensitiveParameterValue)#1 (0) {
}
serialize ::::::::::::::::::::::::::::::::::::::::
Serialization of 'SensitiveParameterValue' is not allowed
print_r ::::::::::::::::::::::::::::::::::::::::
SensitiveParameterValue Object
casting ::::::::::::::::::::::::::::::::::::::::
Object of class SensitiveParameterValue could not be converted to string
var_export ::::::::::::::::::::::::::::::::::::::::
string(47) "\SensitiveParameterValue::__set_state(array(
))"
Output for 8.1.30 - 8.1.33
Fatal error: Uncaught Error: Class "SensitiveParameterValue" not found in /in/IPXe0:16
Stack trace:
#0 /in/IPXe0(67): Secured::fromString('Lorem ipsum dol...')
#1 {main}
thrown in /in/IPXe0 on line 16
Process exited with code 255.