<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=XML_RPC</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/16780" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16018" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13237" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13027" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12604" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12575" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11981" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10186" />
      <rdf:li rdf:resource="http://pear.php.net/bug/9375" />
      <rdf:li rdf:resource="http://pear.php.net/bug/8240" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/16780">
      <title>XML_RPC: Bug 16780 [Open] serializedata function doesn't work for arrays not indexed in sequence order</title>
      <link>http://pear.php.net/bugs/16780</link>
      <content:encoded><![CDATA[<pre>XML_RPC Bug
Reported by miguel_correa
2009-11-11T13:16:24+00:00
PHP: 5.3.0 OS: Fedora Package Version: 1.5.2

Description:
------------
When the serializedata function receives an array as value and that array isn't indexed on a sequence order the serialization is broken, it doesn't returns all the existing  values.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Bug
Reported by miguel_correa
2009-11-11T13:16:24+00:00
PHP: 5.3.0 OS: Fedora Package Version: 1.5.2

Description:
------------
When the serializedata function receives an array as value and that array isn't indexed on a sequence order the serialization is broken, it doesn't returns all the existing  values.</pre>]]></description>
      <dc:date>2009-11-11T13:16:24+00:00</dc:date>
      <dc:creator>miguel &amp;#x64;&amp;#111;&amp;#x74; correa &amp;#x61;&amp;#116; openx &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>XML_RPC Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16018">
      <title>XML_RPC: Feature/Change Request 16018 [Open] XML_RPC keep-alive option</title>
      <link>http://pear.php.net/bugs/16018</link>
      <content:encoded><![CDATA[<pre>XML_RPC Feature/Change Request
Reported by sklyar
2009-03-11T09:44:24+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.5.1

Description:
------------
to implicit close connection after response we need set options 
keepalive. I propose to add method (in PRC.php) 
setKeepAlive(bool) to impilicit set this option, by default make 
(Connection: close) to return answer immmidiately

and to createHeaders() add check for 
if ($this-&gt;keepalive)
    $this-&gt;headers .= 'Connection: keep-alive';
else
    $this-&gt;headers .= 'Connection: close';

Expected result:
----------------
i need this option to use ulxmlrpcpp server which by default 
thinks that I use 'keep-alive' instead of 'close'

please, inform me if you can do this</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Feature/Change Request
Reported by sklyar
2009-03-11T09:44:24+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.5.1

Description:
------------
to implicit close connection after response we need set options 
keepalive. I propose to add method (in PRC.php) 
setKeepAlive(bool) to impilicit set this option, by default make 
(Connection: close) to return answer immmidiately

and to createHeaders() add check for 
if ($this-&gt;keepalive)
    $this-&gt;headers .= 'Connection: keep-alive';
else
    $this-&gt;headers .= 'Connection: close';

Expected result:
----------------
i need this option to use ulxmlrpcpp server which by default 
thinks that I use 'keep-alive' instead of 'close'

please, inform me if you can do this</pre>]]></description>
      <dc:date>2009-03-11T09:44:24+00:00</dc:date>
      <dc:creator>sklyar &amp;#x61;&amp;#116; idegroup &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_RPC Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13237">
      <title>XML_RPC: Bug 13237 [Open] invalid return payload</title>
      <link>http://pear.php.net/bugs/13237</link>
      <content:encoded><![CDATA[<pre>XML_RPC Bug
Reported by drq123
2008-02-27T14:08:52+00:00
PHP: 5.2.5 OS: windows  xp Package Version: 1.5.1

Description:
------------
see the code, the output is as it is supposed to be
but i get the error from the client side.


Test script:
---------------
function register($params) {
        $user = $params-&gt;getParam(0);
		$password=$params-&gt;getParam(1);
		
        // This error checking syntax was added in Release 1.3.0
        
        $val = new XML_RPC_Value(&quot;success&quot;, &quot;string&quot;);
        
        return new XML_RPC_Response($val);
}

/*
 * Establish the dispatch map and XML_RPC server instance.
 */
$server = new XML_RPC_Server(
		array(&quot;perform_register&quot; =&gt; array(&quot;function&quot; =&gt; &quot;register&quot;))
		);

Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;methodResponse&gt;
&lt;params&gt;
&lt;param&gt;
&lt;value&gt;&lt;string&gt;success&lt;/string&gt;&lt;/value&gt;
&lt;/param&gt;
&lt;/params&gt;
&lt;/methodResponse&gt;

Actual result:
--------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;methodResponse&gt;
&lt;params&gt;
&lt;param&gt;
&lt;value&gt;&lt;string&gt;success&lt;/string&gt;&lt;/value&gt;
&lt;/param&gt;
&lt;/params&gt;
&lt;/methodResponse&gt;
Error code: 2 Message: Invalid return payload: enable debugging to examine incoming payload</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Bug
Reported by drq123
2008-02-27T14:08:52+00:00
PHP: 5.2.5 OS: windows  xp Package Version: 1.5.1

Description:
------------
see the code, the output is as it is supposed to be
but i get the error from the client side.


Test script:
---------------
function register($params) {
        $user = $params-&gt;getParam(0);
		$password=$params-&gt;getParam(1);
		
        // This error checking syntax was added in Release 1.3.0
        
        $val = new XML_RPC_Value(&quot;success&quot;, &quot;string&quot;);
        
        return new XML_RPC_Response($val);
}

/*
 * Establish the dispatch map and XML_RPC server instance.
 */
$server = new XML_RPC_Server(
		array(&quot;perform_register&quot; =&gt; array(&quot;function&quot; =&gt; &quot;register&quot;))
		);

Expected result:
----------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;methodResponse&gt;
&lt;params&gt;
&lt;param&gt;
&lt;value&gt;&lt;string&gt;success&lt;/string&gt;&lt;/value&gt;
&lt;/param&gt;
&lt;/params&gt;
&lt;/methodResponse&gt;

Actual result:
--------------
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;methodResponse&gt;
&lt;params&gt;
&lt;param&gt;
&lt;value&gt;&lt;string&gt;success&lt;/string&gt;&lt;/value&gt;
&lt;/param&gt;
&lt;/params&gt;
&lt;/methodResponse&gt;
Error code: 2 Message: Invalid return payload: enable debugging to examine incoming payload</pre>]]></description>
      <dc:date>2008-02-28T06:05:46+00:00</dc:date>
      <dc:creator>aris &amp;#x61;&amp;#116; delivopoulou &amp;#x64;&amp;#111;&amp;#x74; gr</dc:creator>
      <dc:subject>XML_RPC Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13027">
      <title>XML_RPC: Bug 13027 [Open] mbregex compile err: undefined type (bug) in /pear/XML/RPC/Server.php</title>
      <link>http://pear.php.net/bugs/13027</link>
      <content:encoded><![CDATA[<pre>XML_RPC Bug
Reported by bvogel
2008-01-31T13:20:36+00:00
PHP: 5.2.5 OS: Mac OS X Server 10.4.11 Package Version: 1.5.1

Description:
------------
Every 500 requests or so I receive the error in my PHP log:

PHP Warning:  mb_eregi_replace() [&lt;a href='function.mb-eregi 
replace'&gt;function.mb-eregi-replace&lt;/a&gt;]: mbregex compile err: 
undefined type (bug) in 
/Library/Apache2/php/pear/XML/RPC/Server.php on line 435

and Apache v2 crashes with EXC_BAD_ACCESS, unknown thread crash.





Test script:
---------------
I don't have a test script as I'm not able to reproduce this consistently.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Bug
Reported by bvogel
2008-01-31T13:20:36+00:00
PHP: 5.2.5 OS: Mac OS X Server 10.4.11 Package Version: 1.5.1

Description:
------------
Every 500 requests or so I receive the error in my PHP log:

PHP Warning:  mb_eregi_replace() [&lt;a href='function.mb-eregi 
replace'&gt;function.mb-eregi-replace&lt;/a&gt;]: mbregex compile err: 
undefined type (bug) in 
/Library/Apache2/php/pear/XML/RPC/Server.php on line 435

and Apache v2 crashes with EXC_BAD_ACCESS, unknown thread crash.





Test script:
---------------
I don't have a test script as I'm not able to reproduce this consistently.</pre>]]></description>
      <dc:date>2008-01-31T14:14:22+00:00</dc:date>
      <dc:creator>bradavogel &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_RPC Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12604">
      <title>XML_RPC: Bug 12604 [Open] XML_RPC_Value-&gt;scalarval() incorrectly handles false booleans</title>
      <link>http://pear.php.net/bugs/12604</link>
      <content:encoded><![CDATA[<pre>XML_RPC Bug
Reported by kammerer
2007-12-03T15:25:46+00:00
PHP: 4.4.3 OS:  Package Version: 1.5.1

Description:
------------
Instead of a boolean, an int is returned.

Test script:
---------------
$val = new XML_RPC_Value(false, 'boolean');
var_dump($val-&gt;scalarval());

Expected result:
----------------
bool(false)

Actual result:
--------------
int(0)</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Bug
Reported by kammerer
2007-12-03T15:25:46+00:00
PHP: 4.4.3 OS:  Package Version: 1.5.1

Description:
------------
Instead of a boolean, an int is returned.

Test script:
---------------
$val = new XML_RPC_Value(false, 'boolean');
var_dump($val-&gt;scalarval());

Expected result:
----------------
bool(false)

Actual result:
--------------
int(0)</pre>]]></description>
      <dc:date>2007-12-03T15:25:46+00:00</dc:date>
      <dc:creator>tomek &amp;#x61;&amp;#116; advisio &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>XML_RPC Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12575">
      <title>XML_RPC: Bug 12575 [Open] incorrect license in package.xml</title>
      <link>http://pear.php.net/bugs/12575</link>
      <content:encoded><![CDATA[<pre>XML_RPC Bug
Reported by jakubmoc
2007-12-02T13:40:12+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.5.1

Description:
------------
package.xml states this is licensed under PHP license, however  RPC.php and Server.php is clearly licensed under MIT-style license, Dump.php is missing any license info altogether.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Bug
Reported by jakubmoc
2007-12-02T13:40:12+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.5.1

Description:
------------
package.xml states this is licensed under PHP license, however  RPC.php and Server.php is clearly licensed under MIT-style license, Dump.php is missing any license info altogether.</pre>]]></description>
      <dc:date>2008-08-26T13:15:58+00:00</dc:date>
      <dc:creator>jakub &amp;#x61;&amp;#116; gentoo &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>XML_RPC Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11981">
      <title>XML_RPC: Feature/Change Request 11981 [Assigned] Creating the payload before opening a socket connection</title>
      <link>http://pear.php.net/bugs/11981</link>
      <content:encoded><![CDATA[<pre>XML_RPC Feature/Change Request
Reported by albo
2007-09-05T05:03:00+00:00
PHP: 5.2.2 OS: Debian Edge Package Version: 1.5.1

Description:
------------
The function sendPayloadHTTP10 first opens a socket connection  and then creates the payload (if it hasn't been already created). This may cause socket timeout problems if you send a lot of data.

Solutions:

a) Always call create Payload after starting a new message:
$msg = new XML_RPC_Message(...);
$msg-&gt;createPayload();

b) A simple modification in sendPayloadHTTP10 which first creates the payload and after that opens the socket.
See attached patch file.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Feature/Change Request
Reported by albo
2007-09-05T05:03:00+00:00
PHP: 5.2.2 OS: Debian Edge Package Version: 1.5.1

Description:
------------
The function sendPayloadHTTP10 first opens a socket connection  and then creates the payload (if it hasn't been already created). This may cause socket timeout problems if you send a lot of data.

Solutions:

a) Always call create Payload after starting a new message:
$msg = new XML_RPC_Message(...);
$msg-&gt;createPayload();

b) A simple modification in sendPayloadHTTP10 which first creates the payload and after that opens the socket.
See attached patch file.</pre>]]></description>
      <dc:date>2009-05-23T19:00:24+00:00</dc:date>
      <dc:creator>albo &amp;#x61;&amp;#116; justmail &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>XML_RPC Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10186">
      <title>XML_RPC: Bug 10186 [Open] Error in function serializeval($o)</title>
      <link>http://pear.php.net/bugs/10186</link>
      <content:encoded><![CDATA[<pre>XML_RPC Bug
Reported by ivi.spam@...
2007-02-26T02:44:48+00:00
PHP: 4.4.4 OS: Windows Package Version: 1.5.1

Description:
------------
XML RPC not working.
Problem in serializeval with Array data
Problem in serializeval function in &quot;if (!is_object($o) || empty($o-&gt;me) || !is_array($o-&gt;me)) {
            return '';
        }&quot;

    /**
     * @return string  the data in XML format
     */
    function serializeval($o)
    {
        if (!is_object($o) || empty($o-&gt;me) || !is_array($o-&gt;me)) {
            return '';
        }
        $ar = $o-&gt;me;
        reset($ar);
        list($typ, $val) = each($ar);
        return '&lt;value&gt;' .  $this-&gt;serializedata($typ, $val) .  &quot;&lt;/value&gt;\n&quot;;
    }

-----------------------------------------

After small changes like



    /**
     * @return string  the data in XML format
     */
    function serializeval($o)
    {
        if (!is_object($o) || empty($o-&gt;me) || !is_array($o-&gt;me)) {
            return '&lt;value&gt;' .  $o .  &quot;&lt;/value&gt;\n&quot;;
        }
        $ar = $o-&gt;me;
        reset($ar);
        list($typ, $val) = each($ar);
        return '&lt;value&gt;' .  $this-&gt;serializedata($typ, $val) .  &quot;&lt;/value&gt;\n&quot;;
    }

Working.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Bug
Reported by ivi.spam@...
2007-02-26T02:44:48+00:00
PHP: 4.4.4 OS: Windows Package Version: 1.5.1

Description:
------------
XML RPC not working.
Problem in serializeval with Array data
Problem in serializeval function in &quot;if (!is_object($o) || empty($o-&gt;me) || !is_array($o-&gt;me)) {
            return '';
        }&quot;

    /**
     * @return string  the data in XML format
     */
    function serializeval($o)
    {
        if (!is_object($o) || empty($o-&gt;me) || !is_array($o-&gt;me)) {
            return '';
        }
        $ar = $o-&gt;me;
        reset($ar);
        list($typ, $val) = each($ar);
        return '&lt;value&gt;' .  $this-&gt;serializedata($typ, $val) .  &quot;&lt;/value&gt;\n&quot;;
    }

-----------------------------------------

After small changes like



    /**
     * @return string  the data in XML format
     */
    function serializeval($o)
    {
        if (!is_object($o) || empty($o-&gt;me) || !is_array($o-&gt;me)) {
            return '&lt;value&gt;' .  $o .  &quot;&lt;/value&gt;\n&quot;;
        }
        $ar = $o-&gt;me;
        reset($ar);
        list($typ, $val) = each($ar);
        return '&lt;value&gt;' .  $this-&gt;serializedata($typ, $val) .  &quot;&lt;/value&gt;\n&quot;;
    }

Working.</pre>]]></description>
      <dc:date>2007-02-27T06:06:18+00:00</dc:date>
      <dc:creator>ivi &amp;#x64;&amp;#111;&amp;#x74; spam &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_RPC Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/9375">
      <title>XML_RPC: Bug 9375 [Open] XML_RPC_decode decodes integer as strings in an array</title>
      <link>http://pear.php.net/bugs/9375</link>
      <content:encoded><![CDATA[<pre>XML_RPC Bug
Reported by sylvain@...
2006-11-18T07:28:52+00:00
PHP: 5.2.0 RC4 OS:  Package Version: 1.5.1

Description:
------------
With 1.5.1, XML_RPC_decode(array(int(3))) = array(&quot;3&quot;) as a string.

I know &quot;php is a typeless language&quot; etc.. but this breaks APIs that are used by other XML_RPC implementations in languages like Python that are typed.

Test script:
---------------
$msg = new XML_RPC_Message(&quot;dummymethod&quot;);
    	
$rep = $msg-&gt;parseResponse('HTTP/1.1 200 OK
Date: Sat, 18 Nov 2006 11:00:57 GMT
Server: Apache/2.2.3 (Unix)
Connection: close
Content-Type: text/xml; charset=UTF-8.'.&quot;\r\n\r\n&quot;.'&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;methodResponse&gt;
&lt;params&gt;
&lt;param&gt;
&lt;value&gt;&lt;array&gt;
&lt;data&gt;
&lt;value&gt;&lt;int&gt;42&lt;/int&gt;&lt;/value&gt;
&lt;/data&gt;
&lt;/array&gt;&lt;/value&gt;
&lt;/param&gt;
&lt;/params&gt;
&lt;/methodResponse&gt;');
		
$p=$rep-&gt;value();
$d=XML_RPC_decode($p);
echo gettype($d[0]);

Expected result:
----------------
int

Actual result:
--------------
string</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Bug
Reported by sylvain@...
2006-11-18T07:28:52+00:00
PHP: 5.2.0 RC4 OS:  Package Version: 1.5.1

Description:
------------
With 1.5.1, XML_RPC_decode(array(int(3))) = array(&quot;3&quot;) as a string.

I know &quot;php is a typeless language&quot; etc.. but this breaks APIs that are used by other XML_RPC implementations in languages like Python that are typed.

Test script:
---------------
$msg = new XML_RPC_Message(&quot;dummymethod&quot;);
    	
$rep = $msg-&gt;parseResponse('HTTP/1.1 200 OK
Date: Sat, 18 Nov 2006 11:00:57 GMT
Server: Apache/2.2.3 (Unix)
Connection: close
Content-Type: text/xml; charset=UTF-8.'.&quot;\r\n\r\n&quot;.'&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;methodResponse&gt;
&lt;params&gt;
&lt;param&gt;
&lt;value&gt;&lt;array&gt;
&lt;data&gt;
&lt;value&gt;&lt;int&gt;42&lt;/int&gt;&lt;/value&gt;
&lt;/data&gt;
&lt;/array&gt;&lt;/value&gt;
&lt;/param&gt;
&lt;/params&gt;
&lt;/methodResponse&gt;');
		
$p=$rep-&gt;value();
$d=XML_RPC_decode($p);
echo gettype($d[0]);

Expected result:
----------------
int

Actual result:
--------------
string</pre>]]></description>
      <dc:date>2006-11-18T07:28:52+00:00</dc:date>
      <dc:creator>sylvain &amp;#x61;&amp;#116; jamendo &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_RPC Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/8240">
      <title>XML_RPC: Feature/Change Request 8240 [Open] debug output of methodcall</title>
      <link>http://pear.php.net/bugs/8240</link>
      <content:encoded><![CDATA[<pre>XML_RPC Feature/Change Request
Reported by till
2006-07-18T10:03:23+00:00
PHP: 5.1.4 OS: any Package Version: 1.5.0

Description:
------------
Inside XML_RPC::sendPayloadHTTP10(), I added some code to output the method call generated/sent to the XML-RPC server.

Could be useful for others. I am guessing one would expect that part in a debug output anyway.

Test script:
---------------
/* after: */
        $op  = $this-&gt;headers . &quot;\r\n\r\n&quot;;
        $op .= $msg-&gt;payload;
/* put: */
        if ($this-&gt;debug == 1)
        {
            print &quot;\n&lt;pre&gt;---SENT---\n&quot;;
            echo htmlentities($op);
            print &quot;\n---SENT---&lt;/pre&gt;\n&quot;;
        }

Expected result:
----------------
Debug output.

Actual result:
--------------
Debug output.</pre>]]></content:encoded>
      <description><![CDATA[<pre>XML_RPC Feature/Change Request
Reported by till
2006-07-18T10:03:23+00:00
PHP: 5.1.4 OS: any Package Version: 1.5.0

Description:
------------
Inside XML_RPC::sendPayloadHTTP10(), I added some code to output the method call generated/sent to the XML-RPC server.

Could be useful for others. I am guessing one would expect that part in a debug output anyway.

Test script:
---------------
/* after: */
        $op  = $this-&gt;headers . &quot;\r\n\r\n&quot;;
        $op .= $msg-&gt;payload;
/* put: */
        if ($this-&gt;debug == 1)
        {
            print &quot;\n&lt;pre&gt;---SENT---\n&quot;;
            echo htmlentities($op);
            print &quot;\n---SENT---&lt;/pre&gt;\n&quot;;
        }

Expected result:
----------------
Debug output.

Actual result:
--------------
Debug output.</pre>]]></description>
      <dc:date>2006-07-18T10:03:23+00:00</dc:date>
      <dc:creator>klimpong &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>XML_RPC Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
