The following code segfaults some older (pre 5.1.2) versions of PHP:
$foo = date('c', time());
xmlrpc_set_type($foo, 'datetime');
Please upgrade before reporting as a bug.
![]() | xmlrpc_set_type描述bool xmlrpc_set_type ( string &value, string type )
![]()
bmatheny at mobocracy dot net
24-Mar-2006 07:08
The following code segfaults some older (pre 5.1.2) versions of PHP:
ncuxxx at gmail dot com
23-Dec-2005 04:59
I write tutorial.
shem((at))etkDOTca [aka.Przemyslaw Szot]
31-Oct-2004 05:23
Once you use the xmlrpc_set_type function, the data is encoded into a PHP object. In your XMLRPC server, in order to access the data you must be able to access the necessary part of the object.
kelly at seankelly dot biz
28-Dec-2002 11:53
The problem is that PHP has a string type which is also used to hold binary data and dates. But XML-RPC defines three separate types for strings, binary data, and dates. How do you tell how you want strings encoded? That's where this function comes in.
| ![]() | ||||