1--TEST-- 2A SensitiveParameterValue may not be serialized. 3--FILE-- 4<?php 5 6$v = new SensitiveParameterValue('secret'); 7 8var_dump(serialize($v)); 9 10?> 11--EXPECTF-- 12Fatal error: Uncaught Exception: Serialization of 'SensitiveParameterValue' is not allowed in %ssensitive_parameter_value_serialize.php:5 13Stack trace: 14#0 %ssensitive_parameter_value_serialize.php(5): serialize(Object(SensitiveParameterValue)) 15#1 {main} 16 thrown in %ssensitive_parameter_value_serialize.php on line 5 17