GoLang wddx_add_vars

request it (279)
GoLang replacement for PHP's wddx_add_vars [edit | history]



Do you know a GoLang replacement for PHP's wddx_add_vars? Write it!

PHP wddx_add_vars

PHP original manual for wddx_add_vars [ show | php.net ]

wddx_add_vars

(PHP 4, PHP 5, PHP 7)

wddx_add_varsAdd variables to a WDDX packet with the specified ID

Description

bool wddx_add_vars ( resource $packet_id , mixed $var_name [, mixed $... ] )

Serializes the passed variables and add the result to the given packet.

Parameters

This function takes a variable number of parameters.

packet_id

A WDDX packet, returned by wddx_packet_start().

var_name

Can be either a string naming a variable or an array containing strings naming the variables or another array, etc.

...

Return Values

Returns TRUE on success or FALSE on failure.