wddx_add_vars
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7)
Add variables to a WDDX packet with the specified ID
Function-7-4-0
Description
wddx_add_vars(resource $packet_id, mixed $var_name, mixed ...$var_names): bool
Serializes the passed variables and add the result to the given packet.
Parameters
This function takes a variable number of parameters.
packet_idA WDDX packet, returned by
wddx_packet_start().var_nameCan be either a string naming a variable or an array containing strings naming the variables or another array, etc.
var_names
Return Values
Success