<book lang="en">
<title>XML-RPC for PHP</title>
- <subtitle>version 3.0.0 beta</subtitle>
+ <subtitle>version 3.0.0</subtitle>
<bookinfo>
- <date>Sep 5, 2009</date>
+ <date>Feb 2, 2014</date>
<authorgroup>
<author>
url="http://usefulinc.com/">Useful Information Company</ulink>. As of the
1.0 stable release, the project was opened to wider involvement and moved
to <ulink
- url="http://phpxmlrpc.sourceforge.net/">SourceForge</ulink>.</para>
+ url="http://phpxmlrpc.sourceforge.net/">SourceForge</ulink>; later, to <ulink
+ url="https://github.com/">Github</ulink></para>
<para>A list of XML-RPC implementations for other languages such as Perl
and Python can be found on the <ulink
functions and methods please take a look at the source code of the
library, which is quite thoroughly commented in javadoc-like form.</para>
+ <sect1>
+ <title>3.0.0</title>
+ <para><itemizedlist>
+ <listitem>
+ <para>...</para>
+ </listitem>
+ </itemizedlist></para>
+ </sect1>
+
<sect1>
<title>3.0.0 beta</title>
<code>wrap_php_function</code> and <code>wrap_xmlrpc_method</code>,
and has many caveats, with php being a typeless language and
all...</para>
-
- <para>With PHP versions lesser than 5.0.3 wrapping of php functions
- into xmlrpc methods is not supported yet.</para>
</listitem>
<listitem>
configuration.</para>
<para>The <emphasis>minimum supported</emphasis> PHP version is
- 5.0.</para>
-
- <para>Automatic generation of xml-rpc methods from php functions is only
- supported with PHP version 5.0.3 and later (note that the lib will
- generate some warnings with PHP 5 in strict error reporting mode).</para>
+ 5.1.0</para>
<para>If you wish to use SSL or HTTP 1.1 to communicate with remote
servers, you need the "curl" extension compiled into your PHP
<listitem>
<para>The <emphasis>XML-RPC for PHP</emphasis> development is hosted
on <ulink
- url="http://phpxmlrpc.sourceforge.net">phpxmlrpc.sourceforge.net</ulink>.
+ url="https://github.com/gggeek/phpxmlrpc">github.com/gggeek/phpxmlrpc</ulink>.
Bugs, feature requests and patches can be posted to the <ulink
- url="http://sourceforge.net/projects/phpxmlrpc">project's
+ url="https://github.com/gggeek/phpxmlrpc/issues">project's
website</ulink>.</para>
</listitem>
array(
"street" => new xmlrpcval("Fifht Ave", "string"),
"city" => new xmlrpcval("NY", "string")
- ),
+ ),
"struct")
- ),
+ ),
"struct");
</programlisting>
<para>Example usage:</para>
<programlisting language="php">
-$client = new xmlrpc_client("phpxmlrpc.sourceforge.net/server");
+$client = new xmlrpc_client("phpxmlrpc.sourceforge.net/server.php");
$client->return_type = 'phpvals';
$message = new xmlrpcmsg("examples.getStateName", array(new xmlrpcval(23, "int")));
$resp = $client->send($message);
transparently carried out by the lib, while datetime vals are passed
around as strings).</para>
- <para>Known limitations: requires PHP 5.0.3 +; only works for
+ <para>Known limitations: only works for
user-defined functions, not for PHP internal functions (reflection
does not support retrieving number/type of params for those); the
wrapped php function will not be able to programmatically return an