1ZFJVc3fSKZu8SJ4nBYPnq changeset

Changeset653264393230 (b)
ParentNone (a)
ab
0+<?php
0+$host = 'myhost.com';
0+$path = '/somepath'
0+
0+//Init it
0+$rpc = new XmlRPC($host,$path);
0+
0+//Call it using the call method
0+$output1 = $rpc->call('method',$arg1,$arg2);
0+
0+//Call it using the __call php magic method
0+$output2 = $rpc->method($arg1,$arg2);
0+
0+//$output1 == $output2
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- Revision None
+++ Revision 653264393230
@@ -0,0 +1,14 @@
+<?php
+$host = 'myhost.com';
+$path = '/somepath'
+
+//Init it
+$rpc = new XmlRPC($host,$path);
+
+//Call it using the call method
+$output1 = $rpc->call('method',$arg1,$arg2);
+
+//Call it using the __call php magic method
+$output2 = $rpc->method($arg1,$arg2);
+
+//$output1 == $output2