1. Go to this page and download the library: Download antanasga/xmlrpcencode library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
antanasga / xmlrpcencode example snippets
$e = new Encode(
[
'hello-world',
[
"int" => 1,
"double" => 1.1,
"bool" => true,
"string" => "one",
"datetime" => new DateTime(),
"array" => [1, "one", false]
],
Encode::base64('Hello world') // PHP has no base64 object so we call it like that
],
'execute'
);
echo $e;