Home > PHP > Function > WDDX > wddx_serialize_vars()

wddx_serialize_vars()

wddx_serialize_vars - Serialize variables into a WDDX packet

Syntax

string wddx_serialize_vars (mixed $var_name, mixed $...)

Arguments

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

Description

Creates a WDDX packet with a structure that contains the serialized representation of the passed variables.

Version

PHP 4, 5

Return value

Returns the WDDX packet, or FALSE on error.