if ((int)ini_get('max_execution_time') < 180)
ini_set('max_execution_time', 180);
+ ini_set('max_execution_time', 180);
$suite = new PHPUnit_TestSuite();
function setUp()
{
global $DEBUG, $LOCALSERVER, $URI;
- $server = split(':', $LOCALSERVER);
+ $server = explode(':', $LOCALSERVER);
if(count($server) > 1)
{
$this->client=new xmlrpc_client($URI, $server[0], $server[1]);
$this->assertEquals(8, $r->faultCode());
// now test a successful connection
- $server = split(':', $LOCALSERVER);
+ $server = explode(':', $LOCALSERVER);
if(count($server) > 1)
{
$this->client->port = $server[1];
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();
}
else
{
<?php
echo $result->toHTML()."\n</body>\n</html>\n";
}
-?>
+?>
\ No newline at end of file