Ends a WDDX packet with the specified ID
$packet_id
Ends and returns the given WDDX packet.
packet_id
A WDDX packet, returned by wddx_packet_start.
Returns the string containing the WDDX packet.