ConFoo: Call for paper is now Open

xmlrpc_get_type

(PHP 4 >= 4.1.0, PHP 5)

xmlrpc_get_typeگرفتن نوع xmlrpc برای مقدار PHP

Description

string xmlrpc_get_type ( mixed $value )
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

این تابع خصوصا برا base64 و datetime مفید است.

Warning

This function is currently not documented; only its argument list is available.

add a note add a note

User Contributed Notes 1 note

up
0
hfuecks at pinkgoblin dot com
12 years ago
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.
To Top