xmlrpc_get_type

(PHP 4 >= 4.1.0, PHP 5)

xmlrpc_get_type -- 为 PHP 的值获取 xmlrpc 的类型

描述

string xmlrpc_get_type ( mixed value )

警告

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

该函数对于 base64 与日期时间字符串特别有用。

警告

本函数暂无文档,仅有参数列表。


add a note add a note User Contributed Notes
hfuecks at pinkgoblin dot com
17-Aug-2002 01:41
This function returns the type of a PHP variable in XML-RPC terms. It won't "spot" base64 or iso8601 types unless they have been defined using xmlrpc_set_type().

For iso8601 type it returns "datetime".

Otherwise it returns strings corresponding directly the XML-RPC data types e.g. "struct","int","string","base64" etc.