PEAR::XML_RPC

デバッグモード
XML_RPC_Clientでクライアントを生成したあと、デバッグを行う。

<?php
$client = new XML_RPC_Client ( $xmlprc_path , $xmlrpc_host ,80);
$client->setDebug(1);
?>
<?PHP
  /**
  * Change the current debug mode
  * @param int $in  where 1 = on, 0 = off
  * @return void
  */
  function setDebug($in)
  {
    if ($in) {
      $this->debug = 1; 
    } else {
     $this->debug = 0;
    }
  }
?>