xmlrpc_set_type

PHP 4 >= 4.1.0, PHP 5, PHP 7
xmlrpc_set_type - Sets xmlrpc type, base64 or datetime, for a PHP string value
Manual
Code Examples

xmlrpc_set_type( stringvalue, string$type ): bool

Sets xmlrpc type, base64 or datetime, for a PHP string 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.

Parameters

value

Value to set the type

type

'base64' or 'datetime'

Return Values

Returns true on success or false on failure. If successful, value is converted to an object.

Exceptions and Errors

Issues E_WARNING with type unsupported by XMLRPC.

Example of xmlrpc_set_type

Show all examples for xmlrpc_set_type

PHP Version: