Home > PHP > Function > XML-RPC > xmlrpc_set_type()

xmlrpc_set_type()

xmlrpc_set_type - Sets xmlrpc type, base64 or datetime, for a PHP string value

Syntax

bool xmlrpc_set_type (string &$value, string $type)

Arguments

  • value - Value to set the type
  • type - \'base64\' or \'datetime\'

Description

Sets xmlrpc type, base64 or datetime, for a PHP string value.

Version

PHP 4.1.0, 5

Return value

Returns TRUE on success or FALSE on failure. If successful, value is converted to an object.