Home > PHP > Function > WDDX > wddx_packet_start()

wddx_packet_start()

wddx_packet_start - Starts a new WDDX packet with structure inside it

Syntax

resource wddx_packet_start (string $comment)

Arguments

  • comment - An optional comment string.

Description

Start a new WDDX packet for incremental addition of variables. It automatically creates a structure definition inside the packet to contain the variables.

Version

PHP 4, 5

Return value

Returns a packet ID for use in later functions, or FALSE on error.