wddx_add_vars Add variables to a WDDX packet with the specified ID php函数


wddx_add_vars

(PHP 4, PHP 5)

wddx_add_varsAdd variables to a WDDX packet with the specified ID

说明

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

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

参数

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.

...

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.



相关阅读:
wddx_deserialize Unserializes a WDDX packet
wddx_packet_end Ends a WDDX packet with the specified ID
wddx_packet_start Starts a new WDDX packet with structure inside it
wddx_serialize_value Serialize a single value into a WDDX packet
wddx_serialize_vars Serialize variables into a WDDX packet
wordwrap 打断字符串为指定数量的字串
xmlrpc_decode 将 XML 译码为 PHP 本身的类型
xmlrpc_decode_request 将 XML 译码为 PHP 本身的类型
xmlrpc_encode 为 PHP 的值生成 XML
xmlrpc_encode_request 为 PHP 的值生成 XML
xmlrpc_get_type 为 PHP 的值获取 xmlrpc 的类型
xmlrpc_is_fault Determines if an array value represents an XMLRPC fault
xmlrpc_parse_method_descriptions 将 XML 译码成方法描述的列表
xmlrpc_server_add_introspection_data 添加自我描述的文档
快速导航

Copyright © 2016 phpStudy |