Query: xmlrpc_set_type
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XMLRPC_SET_TYPE(3) 1 XMLRPC_SET_TYPE(3) xmlrpc_set_type - Sets xmlrpc type, base64 or datetime, for a PHP string valueSYNOPSISbool xmlrpc_set_type (string &$value, string $type)DESCRIPTIONSets 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.PARAMETERSo $value - Value to set the type o $type - 'base64' or 'datetime'RETURN VALUESReturns TRUE on success or FALSE on failure. If successful, $value is converted to an object.EXAMPLESExample #1 A xmlrpc_set_type(3) example <?php $params = date("YmdTH:i:s", time()); xmlrpc_set_type($params, 'datetime'); echo xmlrpc_encode($params); ?> The above example will output something similar to: <?xml version="1.0" encoding="utf-8"?> <params> <param> <value> <dateTime.iso8601>20090322T23:43:03</dateTime.iso8601> </value> </param> </params>ERRORS/EXCEPTIONS Issues E_WARNING with type unsupported by XMLRPC. PHP Documentation Group XMLRPC_SET_TYPE(3)
Related Man Pages |
---|
runkit_method_rename(3) - php |
bcompiler_write_constant(3) - php |
bcompiler_write_header(3) - php |
runkit_method_remove(3) - php |
stream_context_set_params(3) - php |
Similar Topics in the Unix Linux Community |
---|
kernel param listings |
Rename a file to a file_current datetime in a shell script |
DATE & TIme |
SunOS compare datetime |
Filename with datetime |