wddx_serialize_varsSerialize variables into a WDDX packet Warning
This function was REMOVED in PHP 7.4.0. Description
string wddx_serialize_vars(mixed
$var_name , mixed ...$var_names )Creates a WDDX packet with a structure that contains the serialized representation of the passed variables. ParametersThis function takes a variable number of parameters.
Return Values
Returns the WDDX packet, or Examples
Example #1 wddx_serialize_vars example
The above example will output: <wddxPacket version='1.0'><header/><data><struct><var name='a'><number>1</number></var> <var name='b'><number>5.5</number></var><var name='c'><array length='3'> <string>blue</string><string>orange</string><string>violet</string></array></var> <var name='d'><string>colors</string></var></struct></data></wddxPacket> |