Skip to main content

to_hook_value

Function to_hook_value 

Source
pub fn to_hook_value(value: &PhpValue) -> Value
Expand description

A serialized value as the Hook API carries it. Objects become opaque (the same Rc for every r: to one); a value with a cycle or a key that is not UTF-8 becomes one opaque value whole.