// no action taken yet: give some instructions on debugger usage
?>
- <h3>Instructions on usage of the debugger:</h3>
+ <h3>Instructions on usage of the debugger</h3>
<ol>
<li>Run a 'list available methods' action against desired server</li>
<li>If list of methods appears, click on 'describe method' for desired method</li>
}
?>
- <h3>Example:</h3>
+ <h3>Example</h3>
<p>
Server Address: phpxmlrpc.sourceforge.net<br/>
Path: /server.php
</p>
- <h3>Notice:</h3>
+ <h3>Notice</h3>
<p>all usernames and passwords entered on the above form will be written to the web server logs of this server. Use
with care.</p>
{
$v = new xmlrpcval('-1');
$u = new xmlrpcval('-1', 'string');
+ $t = new xmlrpcval(-1, 'string');
$this->assertEquals($u->scalarval(), $v->scalarval());
+ $this->assertEquals($t->scalarval(), $v->scalarval());
}
+ /**
+ * This looks funny, and we might call it a bug. But we strive for 100 backwards compat...
+ */
public function testMinusOneInt()
{
$v = new xmlrpcval(-1);
- $u = new xmlrpcval(-1, 'string');
+ $u = new xmlrpcval();
$this->assertEquals($u->scalarval(), $v->scalarval());
}