Skip to main content

to_php_string

Function to_php_string 

Source
pub fn to_php_string(value: &PhpValue) -> Vec<u8> ⓘ
Expand description

(string) $value: null and false "", true "1", ints in decimal, floats as PHP 8 prints them (precision 14), arrays "Array". Objects have no __toString() here; they print their class name.