for ($i = 0; $i < sizeof($this->_tests) && !$result->shouldStop(); $i++) {
$this->_tests[$i]->run($result);
if ($show_progress != '') {
- echo $show_progress; flush(); ob_flush();
+ echo $show_progress; flush(); @ob_flush();
}
}
}
* c-hanging-comment-ender-p: nil
* End:
*/
-?>
+?>
\ No newline at end of file
'c4' => array('value' => 'c4', 'expires' => time()+60*60*24*30, 'path' => '/'),
'c5' => array('value' => 'c5', 'expires' => time()+60*60*24*30, 'path' => '/', 'domain' => 'localhost'),
);
- $cookiesval =& php_xmlrpc_encode($cookies);
+ $cookiesval = php_xmlrpc_encode($cookies);
$f=new xmlrpcmsg('examples.setcookies',array($cookiesval));
$r=$this->send($f, 0, true);
if($r)
$this->client->path = $URI;
$r = $this->client->send($f, 5, 'http11');
- $r = $r->value();
- $this->assertEquals('hello', $r->scalarVal());
+ $ro = $r->value();
+var_dump($r);
+ $this->assertEquals('hello', $ro->scalarVal());
}
}
echo "<h3>Using lib version: $xmlrpcVersion on PHP version: ".phpversion()."</h3>\n";
echo '<h3>Running '.$suite->testCount().' tests (some of which are multiple) against servers: http://'.htmlspecialchars($LOCALSERVER.$URI).' and https://'.htmlspecialchars($HTTPSSERVER.$HTTPSURI)."\n ...</h3>\n";
flush();
- ob_flush();
+ @ob_flush();
}
else
{