(PHP 4 >= 4.1.0, PHP 5)

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


string xmlrpc_get_type ( mixed $value )

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 مفید است.


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

add a note add a note

User Contributed Notes 1 note

hfuecks at pinkgoblin dot com
15 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