Testing value serialization

<value><int>23</int></value>
<value><string>What are you saying? &gt;&gt; &lt;&lt; &amp;&amp;</string></value>
<value><array>
<data>
<value><string>ABCDEFHIJ</string></value>
<value><int>1234</int></value>
<value><boolean>1</boolean></value>
</data>
</array></value>
<value><struct>
<member><name>thearray</name>
<value><array>
<data>
<value><string>ABCDEFHIJ</string></value>
<value><int>1234</int></value>
<value><boolean>1</boolean></value>
<value><boolean>0</boolean></value>
<value><boolean>1</boolean></value>
<value><boolean>0</boolean></value>
</data>
</array></value>
</member>
<member><name>theint</name>
<value><int>23</int></value>
</member>
<member><name>thestring</name>
<value><string>foobarwhizz</string></value>
</member>
<member><name>thestruct</name>
<value><struct>
<member><name>one</name>
<value><int>1</int></value>
</member>
<member><name>two</name>
<value><int>2</int></value>
</member>
</struct></value>
</member>
</struct></value>
<value><array>
<data>
<value><struct>
<member><name>thearray</name>
<value><array>
<data>
<value><string>ABCDEFHIJ</string></value>
<value><int>1234</int></value>
<value><boolean>1</boolean></value>
<value><boolean>0</boolean></value>
<value><boolean>1</boolean></value>
<value><boolean>0</boolean></value>
</data>
</array></value>
</member>
<member><name>theint</name>
<value><int>23</int></value>
</member>
<member><name>thestring</name>
<value><string>foobarwhizz</string></value>
</member>
<member><name>thestruct</name>
<value><struct>
<member><name>one</name>
<value><int>1</int></value>
</member>
<member><name>two</name>
<value><int>2</int></value>
</member>
</struct></value>
</member>
</struct></value>
<value><string>That was the struct!</string></value>
</data>
</array></value>
<value><base64>TWFyeSBoYWQgYSBsaXR0bGUgbGFtYiwKV2hvc2UgZmxlZWNlIHdhcyB3aGl0ZSBhcyBzbm93LApBbmQgZXZlcnl3aGVyZSB0aGF0IE1hcnkgd2VudAp0aGUgbGFtYiB3YXMgc3VyZSB0byBnby4KCk1hcnkgaGFkIGEgbGl0dGxlIGxhbWIKU2hlIHRpZWQgaXQgdG8gYSBweWxvbgpUZW4gdGhvdXNhbmQgdm9sdHMgd2VudCBkb3duIGl0cyBiYWNrCkFuZCB0dXJuZWQgaXQgaW50byBueWxvbg==</base64></value>
Value of base64 string is: 'Mary had a little lamb,
Whose fleece was white as snow,
And everywhere that Mary went
the lamb was sure to go.

Mary had a little lamb
She tied it to a pylon
Ten thousand volts went down its back
And turned it into nylon'

Testing request serialization

<?xml version="1.0"?>
<methodCall>
<methodName>examples.getStateName</methodName>
<params>
<param>
<value><int>41</int></value>
</param>
</params>
</methodCall>

Testing ISO date format


Fatal error: Class 'PhpXmlRpc\Helper\Date' not found in /home/resultad/public_html/phpxmlrpc/demo/vardemo.php on line 84